浏览代码

Merge pull request #475 from pixelfed/frontend-ui-refactor

Frontend ui refactor
daniel 6 年之前
父节点
当前提交
3cf3d30b84
共有 4 个文件被更改,包括 289 次插入272 次删除
  1. 30 0
      database/migrations/2018_09_18_043334_add_cw_desc_to_status.php
  2. 250 268
      package-lock.json
  3. 9 4
      package.json
  4. 二进制
      public/img/pixelfed-icon-color.svg

+ 30 - 0
database/migrations/2018_09_18_043334_add_cw_desc_to_status.php

@@ -0,0 +1,30 @@
+<?php
+
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Database\Migrations\Migration;
+
+class AddCwDescToStatus extends Migration
+{
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+        Schema::table('statuses', function ($table) {
+            $table->string('cw_summary')->nullable();
+        });
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        //
+    }
+}

文件差异内容过多而无法显示
+ 250 - 268
package-lock.json


+ 9 - 4
package.json

@@ -12,15 +12,20 @@
     "devDependencies": {
         "axios": "^0.18",
         "bootstrap": "^4.0.0",
-        "popper.js": "^1.12",
         "cross-env": "^5.1",
         "jquery": "^3.2",
-        "laravel-mix": "^2.0",
+        "laravel-mix": "^2.1.14",
         "lodash": "^4.17.4",
-        "vue": "^2.5.7"
+        "popper.js": "^1.12",
+        "vue": "^2.5.17"
     },
     "dependencies": {
         "filesize": "^3.6.1",
-        "infinite-scroll": "^3.0.4"
+        "infinite-scroll": "^3.0.4",
+        "laravel-echo": "^1.4.0",
+        "pusher-js": "^4.2.2",
+        "socket.io-client": "^2.1.1",
+        "sweetalert": "^2.1.0",
+        "twitter-text": "^2.0.4"
     }
 }

二进制
public/img/pixelfed-icon-color.svg


部分文件因为文件数量过多而无法显示