Commit graph

16 commits

Author SHA1 Message Date
ro
9064d6008b
quick refactor note for page editor
the front js class for controlling the page editor is getting heavy, so
a quick note was added to refactor in the near future
2025-06-17 14:38:57 -06:00
ro
a0734724c6
refactor note for page editor js
page editor is getting a bit bulky so it needs some thought to slim it up
2025-05-27 19:10:54 -06:00
ro
981d182d1a
style, state and bounding tweaks for editor
new floating text formatter had some reveal state issues, some styling
wonkyness and didn't have any bounding rules, so all of that has been
addressed.

also removed css references to a component that has been removed.
2025-05-18 12:20:39 -06:00
ro
28a2a2bc1e
text select patch
text select doesn't seem to work on iOS (because of course), so making a
quick adjustment and hopefully that solves the problem
2025-05-18 07:51:58 -06:00
ro
743d7c4d90
routing overhaul
previously all the of the page routing was handlede through controller
organized by CRUD methods. it worked, but organizing by CRUD and not
purpose resulted in more time spent looking for a specific task through
controllers, so it turned out not to an effecient way of organizing.

so routing has been completely reorganized into laravel's web routing
section and methods have been moved to their appropriate controller so
tasks are much easier to find

front facing page routing turned out to be a bit more tricky that
anticipated do the overap of routing paths, but it only affects dynamic
page rendering and there's a patch in place that handles that issue
until a better solution is found. Rendered HTML pages works fine.

whew!
2025-05-16 17:37:53 -06:00
ro
42dfdc947e
responsive pass for page edit ui
there were a couple of glaring issues with the responsiveness of the new
page ui layout, so some of the bigger ones have been addressed

there's was also a bug where the sub-menu options weren't getting picked
up when being assigned in the script. fixed
2025-05-14 15:01:53 -06:00
ro
5e3d2ea49f
improved file upload accessibility
the label for uploading files in the meta ui was not accessible by
keyboard, so that element was changed to a button that can be tabbed to
and clicked to open the file upload ui

there were also so minor css issues with the options toolbar, so those
have been tweaked
2025-05-13 12:56:55 -06:00
ro
6c44f58448
accessbility improvements for issue #109
the bold, italic and strikethrough options now function as toggles for
formatting options and removes them rather than just replacing text

the options buttons under the meta ui now communicate their status
through use of the 'aria pressed' attribute so they can be properly read
by assitive technologies like screen readers
2025-05-13 10:58:21 -06:00
ro
714485c6a6
cleaned up meta ui, made editor display contextual
there were some nagging space issues in the new meta ui layout, so those
were addressed. it'll will probably change a billion more times, but
it's starting from a solid place

the text editor ui now only display when text is selected and goes away
after an operation has been completed or when text is deselected, making
the overall page editing experience streamlined
2025-05-12 14:58:32 -06:00
ro
9c200ea78d
reorganized text editor
moved page meta data to it's own ui to clean up the page editing
experience as it was becoming a bit crowded.

also moved to saving and deleting buttons to title bar so they are
always available

added a note to web routes to reorganize them within the web routes file
to reduce the confusion present by having them in their own Controllers.
it's just an extra layer that's not needed
2025-05-12 13:12:58 -06:00
ro
c5afbb9131
API Decouplng Part 2
removed all remaining API requests from the front end and removed the
FipamoAdminAPI js file, changing it to ContentRequest as it now handles
posting data to the system directly, authenticating it self by checking
the embedded CSRF token that regulary rotates

also renamed MaintenanceManager to Maintenance request and moved it to
the same dir as ContentRequest as they are both libraries that connect
to the backend
2024-07-17 15:08:10 -06:00
ro
4113418c83
reorganized api, added token validation
regrouped api calls for better organization and to add a bit more
security. it now checks to make sure the incoming token matches the
current session to authorize requests
2024-07-06 17:41:32 -06:00
ro
b6425e2c07
quick clean up
changes to front end scripting has rendered some files obsolete so they
have been removed.

removed some todo notes that have already been implemented
2024-05-07 14:17:18 -06:00
ro
a53723f7c8
changed role attritubet to class in page editor ui
the role attribute is being used incorrectly through out the site, which
is bad for screen reader, so they need to be removed and replaced with
the class attribute

the page editor was the biggest culprit, so that one has been converted
first
2024-03-25 12:53:31 -06:00
ro
b9b04f1ab2
page api rewire, pt 1
start building out the new version of the page editing api while making
some changes to the original scripts for added flexibility and using the
full range of HTTP methods that weren't being used before.

currenlty, it's just an end to end test to make sure the plumbing works
as it should data is being passed and can be processed.

now that it all works, the guts of page editing can be completed

update sortablejs to the latest since it's been awhile and got rid of
the old version
2024-03-07 15:42:11 -06:00
ro
1e37580869
added front end scripting to recreate API
dropped in js from the old site to begin the process of wiring up the
API, but this time around, scripts will be served directly in browswer
rather than being transpiled through NPM/Babel, eliminating the need for
NPM.

also scripting will new modularized and served specifically for the
requirements of the page loading it. no more front loading everything.
only script that is needed for that page will be retrieved. if no
scripting is needed, none will be loaded.

The only casualty so far has been syntax highlighting due to prismjs
still being a common js module, but either this will be replaced with
another library or a custom syntax enginge will be created at a later
date
2024-03-06 11:53:40 -06:00