Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "transformstudios/front",
"require": {
"php": "^8.3",
"illuminate/contracts": "^11.0 || ^12.0",
"pixelfear/composer-dist-plugin": "^0.1.4",
"statamic/cms": "^5.0 || ^6.0"
"statamic/cms": "^5.0 || ^6.0",
"stillat/proteus": "^4.0"
},
"require-dev": {
"mockery/mockery": "^1.3.1",
Expand Down
9 changes: 9 additions & 0 deletions resources/css/cp.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
#front-chat-container {
z-index: 100 !important
}

/* !Front Chat */
#front-chat-container .fc-1_tjF {
display: none!important;
}

#front-chat-iframe {
z-index: 1!important;
}
31 changes: 31 additions & 0 deletions src/UpdateScripts/AddToLoggingConfig.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

namespace TransformStudios\Front\UpdateScripts;

use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
use Statamic\UpdateScripts\UpdateScript;
use Stillat\Proteus\Support\Facades\ConfigWriter;

class AddToLoggingConfig extends UpdateScript
{
public function shouldUpdate($newVersion, $oldVersion)
{
return App::isLocal();
}

public function update()
{
if (Config::has('logging.channels.front')) {
return;
}

ConfigWriter::edit('logging')
->set('channels.front', [
'driver' => 'custom',
'via' => \TransformStudios\Front\Logging\Logger::class,
'level' => ConfigWriter::f()->env('FRONT_LOGGING_LEVEL', 'error'),
])->save();
dd('saved');
}
}
2 changes: 0 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue2';

export default defineConfig({
plugins: [
Expand All @@ -13,6 +12,5 @@ export default defineConfig({
publicDirectory: 'dist',
hotFile: 'dist/hot',
}),
vue(),
],
});