This website requires JavaScript.
Explore
Help
Sign in
kevin
/
hypothetical
Watch
1
Star
0
Fork
You've already forked hypothetical
0
mirror of
https://github.com/prurigro/hypothetical.git
synced
2024-11-09 11:16:39 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
14017268f7
hypothetical
/
resources
/
js
History
Kevin MacMartin
2d8fc06dae
Use a post route for metadata so we can request paths that are more than one layer deep
2024-04-22 20:46:55 -04:00
..
imports
Use a non-static function for getDashboardHeader so we can use getTable and not have to worry about sending the model, pull file and image saving and deletion into the dashboard model so it can be used by seeders and other things, allow filetype to be specified for images so more than just jpg is possible, if the image filetype isn't svg also save a webp version of a given image, add a dashboard model method to get the uploads path so we aren't hard-coding that to one degree or another in a whole bunch of places, allow a max width and/or height to be specified for image uploads to avoid giant images, don't send unnecessary parameters from the back-end to the front-end and through the api back to the back-end, add the ability to show error text to the dashboard alert model, show an error if a file of an incorrect type is uploaded, add webp suport detection logic to the vue-based front end as well as a method that selects the appropriate format of image (falling back on the provided format)
2021-07-29 16:40:55 -04:00
mixins
Use a post route for metadata so we can request paths that are more than one layer deep
2024-04-22 20:46:55 -04:00
app.js
Handle metadata in the database for a few reasons: the method is the same between traditional and vue, the user has control over the values, we can create dynamic titles a bit more easily, and with vue the values are populated before the SPA loads so search engines can pick it up more easily
2024-04-03 22:35:43 -04:00
dashboard.js
Add buttons to image and file uploads on edit-item pages that clear the currently selected upload content
2024-04-10 18:39:48 -04:00