summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--database/migrations/2025_06_22_215910_add_statuspage_field.php30
-rw-r--r--database/migrations/2025_06_25_024850_user-id-nullable-on-writings.php28
-rw-r--r--docs/brainstorming.md6
-rwxr-xr-xresources/views/home.blade.php2
5 files changed, 66 insertions, 1 deletions
diff --git a/README.md b/README.md
index a10230d..9bad143 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,7 @@ https://laravel.com/docs/11.x/blade
- add drag-drop file to upload and then generate appropriate html to embed that file
- auto capitalization https://marked.js.org/using_pro
- index filter and sort
+ - FIX THE CSS WTF
- quickbuttons, for adding in snippets of things like embedding an image
- update markup on a timer instead of every character (and/or see if i can prevent it from making unnecessary network requests like loading embedded files)
- each user has their own status pane html element
diff --git a/database/migrations/2025_06_22_215910_add_statuspage_field.php b/database/migrations/2025_06_22_215910_add_statuspage_field.php
new file mode 100644
index 0000000..274b397
--- /dev/null
+++ b/database/migrations/2025_06_22_215910_add_statuspage_field.php
@@ -0,0 +1,30 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+ /**
+ * Run the migrations.
+ */
+ public function up(): void
+ {
+ Schema::table('users', function (Blueprint $table) {
+ $table->string('statushtml')->nullable();
+ $table->string('profilehtml')->nullable();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::table('users', function (Blueprint $table) {
+ $table->removeColumn('statushtml');
+ $table->removeColumn('profilehtml');
+ });
+ }
+};
diff --git a/database/migrations/2025_06_25_024850_user-id-nullable-on-writings.php b/database/migrations/2025_06_25_024850_user-id-nullable-on-writings.php
new file mode 100644
index 0000000..b898876
--- /dev/null
+++ b/database/migrations/2025_06_25_024850_user-id-nullable-on-writings.php
@@ -0,0 +1,28 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+ /**
+ * Run the migrations.
+ */
+ public function up(): void
+ {
+ Schema::table('writings', function (Blueprint $table) {
+ $table->integer('user_id')->unsigned()->nullable()->change();
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::table('writings', function (Blueprint $table) {
+ $table->integer('user_id')->unsigned()->nullable(false)->change();
+ });
+ }
+};
diff --git a/docs/brainstorming.md b/docs/brainstorming.md
new file mode 100644
index 0000000..9aa9c3c
--- /dev/null
+++ b/docs/brainstorming.md
@@ -0,0 +1,6 @@
+homepage is pretty much already mostly laid out.
+
+need to figure out how i want the user account status pages to be.
+
+while working, when i am dealing with some model, for example in the WritingController, i want to be able to quickly (almost automatically?) see the Model definition, database migration, Controller, and any relevant views and routes for that model.
+
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php
index 0488570..f6fd3ad 100755
--- a/resources/views/home.blade.php
+++ b/resources/views/home.blade.php
@@ -24,7 +24,7 @@
<iframe class="embed-hover-iframe" width="460" height="240"
src = "https://www.youtube.com/embed/6JE0Hfvjgsw?enablejsapi=1&autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
<p>A human young adult male, citizen of the United States, software engineer, enjoyer of a variety of different forms of art. But the more important matter right now is this website. What is its purpose? What can it do for you?
- Well, it provides a few different services. Read more below.
+ Well, it provides a few different services. Read more below.</p>
</div>
<p>Who are you?</p><input type = "text" id = "input_who" />
<br>