Commit Graph

21 Commits

Author SHA1 Message Date
Jacob Overgaard
7d7db6bb2b V16: Vite development optimizations (#18915)
* feat: resolve TODO by removing quiet option

* feat: exclude ./src/mocks from production build

* feat: load only msw when running through vite

* feat: optimise load order

* feat: handles mocked logos with virtual path

* feat: loads mocked service worker from virtual path

* feat: loads assets from virtual path

* feat: forces MSW=on for the static build

* build: adds storybook workflow copied over from the old backoffice repository

* build: limits where the build runs

* build: adds workflow to build a static version of the backoffice upon request

* build: excludes the `/umbraco/backoffice/assets` folder from navigation fallback just in case

* build: triggers run when the workflow file itself changes

* build: triggers run when package.json changes

* build: marks the 'contrib' branch as production

* build: activates static builds on preview/* labels

* build: bumps github checkout version

* build: updates key for backoffice web app

* build: updates key for storybook

* build: disables build for release branches to preseve on preview environments
2025-04-03 15:15:04 +01:00
Jacob Overgaard
7acf3d4b01 Feature: Tiptap blockpicker (#2335)
* fix: editor is always available

* fix: remove deprecated v14 stuff

* fix: the block manager should not care about the editor

* fix: the block manager should not care about the editor

* feat: add new tiptap blockpicker extension

* fix: save valid content

* fix: disable white-space to conform blocks inside text

* fix: set block types back to TinyMCE until migration has been completed

* feat: define block content when inserting

* feat: make `getLayouts` available on the base class

* fix: remove unused parameter

* feat: cleanup blocks on change

* feat: adds inline blocks

* feat: set docs for typings and update the interfaces to match and add setEditor to get the editor instance

* feat: set docs for typings and update the interfaces to match and add setEditor to get the editor instance

* feat: adds blocks in rte

* chore: sonarcloud fix

* feat: remove delete button as components can be stripped away directly from the DOM

* feat: allow custom views for block-rte and filter the views based on conditions

* feat: mark tiptap blocks with an outline when active

* feat: export data content udi const

* fix: add block-rte to vite's importmap so that tinymce works on the dev server

* feat(tinymce): get the value from the event target

* feat: allow tinymce to insert blocks by listening to the context

* chore: mark styles as readonly

* chore: cleanup code

* fix: remove two fixed TODO comments

* feat: used named capturing group

* chore: import correct type in testing file

* Removed extra `originData` from Block List manager context

* Fixed issues in Tiptap toolbar button

* Corrected base class for Tiptap Image extension

* Fixed up the RTE package vite config

to export the Tiptap classes (for CMS build)

---------

Co-authored-by: leekelleher <leekelleher@gmail.com>
2024-09-24 18:40:02 +01:00
Jacob Overgaard
63c4f6be73 remove the user-defined.css as it is not needed 2024-07-18 13:08:01 +01:00
Jacob Overgaard
2e91bad702 feat: add a user-defined.css file (empty) that we load up front in the backoffice on the server 2024-05-21 17:14:22 +02:00
Jacob Overgaard
7766b11aa2 set default dir 2023-08-11 10:38:01 +00:00
Jacob Overgaard
95e1104e37 replace localization context with localize controller 2023-07-31 17:27:49 +02:00
Jacob Overgaard
a013901c91 update base paths 2023-05-26 15:20:27 +02:00
Mads Rasmussen
f9ea3ddf44 load css 2023-05-24 22:37:01 +02:00
Mads Rasmussen
3769c491dd Bugfix: Fix deep links (#723)
fix deep links
2023-05-17 09:04:35 +00:00
Mads Rasmussen
353c64931b move index.ts next to index.html 2023-05-15 13:00:06 +02:00
Mads Rasmussen
d8e0c88e47 load iife version of msw 2023-05-15 11:07:58 +02:00
Mads Rasmussen
9da9f4d272 Chore: Remove Vite variables from App element (#706)
* add app element to folder

* add element postfix to filename

* update import

* experiment with passing config to app element

* clean up

* config as individual props instead of object

* update defaults
2023-05-12 16:28:06 +02:00
Jacob Overgaard
c06c5d9e30 use relative urls for favicons to support base url 2023-02-10 11:16:55 +01:00
Jacob Overgaard
0f83cbe4e6 move favicon to public dir 2022-11-24 15:05:53 +01:00
JesmoDev
80a4453f45 added content picker and local packages for modal 2022-07-06 11:05:34 +02:00
Mads Rasmussen
575465b059 Squashed commit of the following:
commit d7bdb05df56ebd7f2f3b64d2a9c71fd105ea534f
Author: Niels Lyngsø <niels.lyngso@gmail.com>
Date:   Thu Jun 2 09:36:53 2022 +0200

    rename event

commit 0fa096d3f1a971672e2170f199046365f433c0d0
Author: Niels Lyngsø <niels.lyngso@gmail.com>
Date:   Thu Jun 2 09:34:09 2022 +0200

    rename datatype event

commit ba92bdd11410b4e4beef167306e4512a75e4dc69
Author: Mads Rasmussen <madsr@hey.com>
Date:   Thu Jun 2 08:49:14 2022 +0200

    fix width of router slot

commit 41960b8e6ac74cd616fec5d6871710aa60f31adc
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 22:01:19 2022 +0200

    clean up

commit 7dcde3153d69b05cf5560519c8cb8ca62911b777
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 21:44:50 2022 +0200

    format

commit 7645687c6f81a9c83449c6396a1741d55a795b49
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 21:42:43 2022 +0200

    lazy load routes

commit a439164c53ad687c2ddab83d15a79a3009f6dbfb
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 19:06:13 2022 +0200

    use createExtensionElement in router

commit e851bca7fe02f14b9d60680b4de536caba924cc2
Merge: e6435d8 6779bd3
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 16:55:29 2022 +0200

    Merge branch 'main' into feature/try-router-slot

commit e6435d86034ba0daa91b92dddc56c33b26e649b1
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 16:40:31 2022 +0200

    remove section context

commit e0e63777069a8c4222f1fd3d0868bb68601ce929
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 16:17:39 2022 +0200

    Remove unused code

commit 70c46bbfe5d26b50f449de3161f87605bd4e64d2
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 16:14:37 2022 +0200

    add missing import

commit 42bf326e3ca9921d8c22e59d9c7bbda8b7954fc9
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 16:13:31 2022 +0200

    wire update current state + redirects

commit 3b85abcc97481f3c3a1b9b7def85e4fd7577975e
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 15:00:44 2022 +0200

    set current section

commit 78a13a217252a45bd625ff9a53071069d9906c0b
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 14:46:42 2022 +0200

    remove unused router

commit 0d0ca217f5214d08d039c12fbbbb131c99c73101
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 14:43:15 2022 +0200

    wire up href on tree item with router-slot

commit ea1676e8fcf9897aa632999353dd1ccd4aeca2cf
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 14:15:50 2022 +0200

    setup root routing logic with router-slot

commit d3751118b0b67c5607d30ca9276b20b09381992a
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 13:56:19 2022 +0200

    setup up content nodes with router-slot

commit 81875b33544b05c68197772a421d4e6ba75c5aca
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 13:45:27 2022 +0200

    remove unused

commit c53ee6ee7eab6d5a21b2e5b35afd583891727599
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 13:38:25 2022 +0200

    render dashboards through router-slot

commit 93fd2d7d05669c9b869c50da5d0e45ff81c4caa7
Author: Mads Rasmussen <madsr@hey.com>
Date:   Wed Jun 1 13:26:42 2022 +0200

    redirect after login

commit 2ea950547b4521cf21f4653c127f77effa9fba9e
Author: Niels Lyngsø <niels.lyngso@gmail.com>
Date:   Wed Jun 1 12:41:06 2022 +0200

    type

commit e78ab72ef8002ca49457c43998a2945c3e9587a7
Author: Niels Lyngsø <niels.lyngso@gmail.com>
Date:   Wed Jun 1 11:59:40 2022 +0200

    router-slot basic impl
2022-06-02 09:44:34 +02:00
Mads Rasmussen
8d05b1bdd2 init extensions api 2022-05-20 17:45:09 +02:00
Jacob Overgaard
175be192b4 update title of app 2022-05-17 13:46:20 +02:00
JesmoDev
bb9232d589 login 2022-05-17 12:40:50 +02:00
Mads Rasmussen
6a082fdbf1 initial setup of Mock Service Worker 2022-05-17 10:38:51 +02:00
JesmoDev
57618cfb7e moved files 2022-05-17 09:29:31 +02:00