Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tabulator Input + Add Translatable Value + Improve Structure Properties #81

Merged
merged 53 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
a29d0f3
feat(translator): rework the translator and translation systems to st…
JoelAlphonso Nov 27, 2023
6723433
fix(translation): revert construct to use manager and trans method no…
JoelAlphonso Nov 29, 2023
a728e07
fix(translatable): update the `TranslatableInterface` to change the `…
JoelAlphonso Nov 29, 2023
ca67612
feat(structure): add TranslatableValue.php awareness to AbstractPrope…
JoelAlphonso Dec 5, 2023
4c40ea0
fix(translatable): make TranslatableValue.php ArrayAccess compliant
JoelAlphonso Dec 5, 2023
a4a36c2
build(assets): add es6 support to admin assets build
JoelAlphonso Dec 5, 2023
8d3ce52
feat(input): add getInputValOptions to allow input classes to define …
JoelAlphonso Dec 5, 2023
b2cda4a
feat(tabulator): add tabulator front-end lib and templates
JoelAlphonso Dec 5, 2023
013573b
fix(json-editor): use inputVal instead of jsonVal for json-editor.mus…
JoelAlphonso Dec 5, 2023
8815b63
build(assets): import tabulator base css
JoelAlphonso Dec 5, 2023
0626c61
feat(tabulator): implement tabulator.js as Charcoal js module
JoelAlphonso Dec 5, 2023
6461bd3
chore(admin): Update NPM manifest and lockfile
JoelAlphonso Dec 5, 2023
e9b94e8
build(admin): Build assets
JoelAlphonso Dec 5, 2023
bbccfc6
feat(tabulator): add TabulatorInput.php
JoelAlphonso Dec 5, 2023
3f8c079
tests(property): remove no longer needed test about structure propert…
JoelAlphonso Dec 5, 2023
8ad05a0
tests(property): fix failing phpcs and phpunit tests
JoelAlphonso Dec 5, 2023
c2f385e
feat(structure-form-group): improve StructureFormGroup.php
JoelAlphonso Dec 11, 2023
47c1ae0
feat(model-structure-property): improve ModelStructureProperty.php
JoelAlphonso Dec 11, 2023
b4af3bf
chore(cleanup): cleanup some code problems
JoelAlphonso Dec 11, 2023
1483930
tests(phpcs): fix failed phpcs tests
JoelAlphonso Mar 5, 2024
1221167
fix(admin): Fix admin template menu building
mcaskill Mar 5, 2024
e6c3493
feat(admin): Sort admin secondary and system menu items
mcaskill Mar 5, 2024
8871115
feat(module): Improve module app config loader
mcaskill Mar 5, 2024
4226199
fix(bin): Search working directory for Composer autoloader
mcaskill Mar 6, 2024
1316be1
fix(cache): Ignore broken cache drivers in tests
mcaskill Mar 6, 2024
d153868
feat(property): Add support for dynamic type field to Object Property
mcaskill Mar 6, 2024
5e00185
fix(admin): Improve error handling in ObjectContainerTrait
mcaskill Mar 6, 2024
d2aba67
fix(admin): Change Object UpdateAction
mcaskill Mar 6, 2024
21057b7
feat(admin): Improve Selectize LoadAction controller
mcaskill Mar 6, 2024
b407dfb
feat(admin): Add support to customize form widget used by Selectize i…
mcaskill Mar 6, 2024
2e0c6a7
fix(admin): Improve structure card header
mcaskill Mar 6, 2024
04169c8
fix(admin): Add fallback layout for form group properties
mcaskill Mar 6, 2024
26018e9
feat(admin): Change default options of TinyMCE Basic Input
mcaskill Mar 6, 2024
ffc3382
feat(admin): Add custom dialog titles for Selectize input
mcaskill Mar 6, 2024
cd65f2c
fix(admin): Fix quick forms, form tabs, and L10N inputs
mcaskill Mar 6, 2024
6ec39df
fix(admin): Fix appearance of Selectize List
mcaskill Mar 6, 2024
b93cd5d
feat(admin): Use Bootstrap 4 theme for Tabulator Input
mcaskill Mar 6, 2024
fc33ab0
feat(admin): Improve Tabulator Input
mcaskill Mar 6, 2024
aa465e7
fix(admin): Fix handling of property type metadata in CollectionConta…
mcaskill Mar 7, 2024
8eb96cb
feat(admin): Improve structure property metadata filtering
mcaskill Mar 11, 2024
e582431
fix(admin): Fix margins for switch and file inputs
mcaskill Mar 11, 2024
d86a2b7
fix(admin): Fix block comments of Tabulator input
mcaskill Mar 11, 2024
7a25409
feat(admin): Add JS debounce factory
mcaskill Mar 12, 2024
725acd0
chore(admin): Remove debug log from Tabulator JS input
mcaskill Mar 12, 2024
46af62b
feat(admin): Add validation message to TinyMCE on save
mcaskill Mar 12, 2024
d3c71b9
fix(property): Fix handling of `l10nVal()` on Structure Property
mcaskill Mar 12, 2024
81393f6
fix(translator): Revert `trans()` method of `TranslatableInterface`
mcaskill Mar 12, 2024
13b33d4
feat(admin): Improve validation/requirements in Tabulator Input
mcaskill Mar 12, 2024
f7e1666
fix(admin): Localize Tabulator Input
mcaskill Mar 12, 2024
42876e3
fix(abstract-selectable): add check for `is_object` before calling `m…
JoelAlphonso Mar 13, 2024
cf506d4
fix(admin): Fix referenced version of Tabulator in NPM manifest
mcaskill Mar 13, 2024
19bf494
chore(admin): Remove obsolete custom feature from Tabulator
mcaskill Mar 13, 2024
b3971c0
fix(admin): Improve styles and logic of Tabulator Input
mcaskill Mar 13, 2024
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
12 changes: 9 additions & 3 deletions bin/charcoal
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ if (PHP_SAPI !== 'cli') {
}

// Find Composer autoloader
$autoloaderPath = [
$autoloaderPaths = [
__DIR__ . '/../../../../vendor/autoload.php',
__DIR__ . '/../vendor/autoload.php',
__DIR__ . '/../autoload.php',
];

$cwd = getcwd();
if (is_string($cwd)) {
// Check the current working directory.
array_unshift($autoloaderPaths, $cwd . '/vendor/autoload.php');
}

$autoloaderFound = false;
foreach ($autoloaderPath as $file) {
foreach ($autoloaderPaths as $file) {
if (file_exists($file)) {
$autoloaderFound = true;
include $file;
Expand Down Expand Up @@ -53,7 +59,7 @@ if (!file_exists($confFile)) {
}

$config = new AppConfig([
'base_path' => $baseDir,
'base_path' => $baseDir,
]);
$config->addFile($confFile);
// Create container and configure it (with charcoal-config)
Expand Down
6 changes: 5 additions & 1 deletion packages/admin/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"root": true,
"parserOptions": {
"ecmaVersion": "latest"
},
"env": {
"amd": true,
"browser": true
"browser": true,
"es6": true
},
"globals": {
"$": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17
16
Loading
Loading