Commit Graph

57 Commits

Author SHA1 Message Date
cfdd261f13 Add new tools to wood shop 2024-03-28 11:48:04 -04:00
9e392fb945 wall-display: Only fetch the calendars that are used by the toolFilter 2023-12-27 11:08:24 -05:00
ec92effe91 Move shops definition to json file 2023-12-27 11:05:22 -05:00
c1e05a5605 ipad: Avoid caching of generated image 2023-11-03 20:22:29 -04:00
c99ad19bba ipad: Add timeout message for loading events image 2023-11-03 15:09:15 -04:00
d040edf6a0 Fix code style in ipad.ts 2023-11-03 14:44:57 -04:00
b3218d795f ipad: Clean up error messages on image failure 2023-11-03 14:44:57 -04:00
1c096df395 Render default contents in FullCalendar content injection functions
Changed in v6, as per https://fullcalendar.io/docs/upgrading-from-v5#content-injection
2023-09-26 15:36:29 -04:00
48a55519f1 Add shop resources based on events that don't match the tool pattern 2023-09-21 23:12:58 -04:00
77ef62503f Add back necessary polyfill for iPad 1 2023-09-15 12:58:01 -04:00
98065af7d5 Update to fullcalendar 6, render image on server side for old iPads
Using puppeteer to render the page server side, as FullCalendar 6
dropped support for ES5, and polyfilling everything was becoming
basically impossible
2023-08-28 22:22:38 -04:00
cb873a1eed Make some imports type-only 2022-12-22 00:33:27 -05:00
ef009b2d0e wall-display: Add an error modal for event fetching errors 2022-12-10 16:44:43 -05:00
084f398d41 Add a loading spinner to wall-display
Spinner GIF derived from https://loading.io/, using `apng2gif` to get
correct transparency behavior
2022-12-10 16:33:27 -05:00
880c320771 Fix some calendar and tool name/url issues 2022-12-10 11:25:49 -05:00
eed4b2a754 Display event times 2022-12-10 11:25:49 -05:00
8dcd89e342 Add links to google calendar/iCal 2022-12-10 11:25:49 -05:00
54a38cf12f Replicate the structure of event content in week view
Keeps the classes/formatting
2022-12-10 11:25:49 -05:00
28edb6027c Only periodically refresh in wall-display mode 2022-12-10 11:25:49 -05:00
1a2d20645f Pre-define all resources, with shops as parents of tools 2022-12-10 11:25:49 -05:00
94e59b83bf Show day (timeline) and week view in non-wall-display view 2022-12-10 11:25:49 -05:00
ed1392ead4 Split out iPad-specific wall-display configuration 2022-12-10 11:25:49 -05:00
7bb3bdcfdd Revert "Use luxon to set title format"
This reverts commit 2868fc3324.
2022-10-12 02:12:11 -04:00
2868fc3324 Use luxon to set title format 2022-10-06 13:05:54 -04:00
53fbc04b1f Prevent zooming and scrolling via touch screen 2022-06-30 14:03:31 -04:00
cae376ae13 Fix timegrid lines rendering over events on iOS 5.1.1 2022-06-30 13:47:51 -04:00
b8ce38ce71 Adjust polyfills to support Safari on iOS 5.1.1 (ie iPad 1)
Just load them directly instead of dynamically importing because this
version doesn't seem to support promises natively
2022-06-28 18:08:52 -04:00
d9f7785a7d Dynamically load Intl modules to allow code splitting 2022-03-11 00:13:20 -05:00
af875b659d Apply prettier 2022-03-10 23:38:38 -05:00
78f07ca745 Increase size of now indicators for better visibility 2021-11-17 18:41:31 -05:00
e02bb1630e Fix visibility of "Now Indicator" on iOS 8 Safari 2021-11-17 18:31:32 -05:00
51b4d2e919 Load index.html with file-loader, instead of being a static file 2021-11-17 15:57:47 -05:00
9ab15f3bd4 Condense toolbar to save some vertical space 2021-11-15 21:31:22 -05:00
fc487ee0b8 Use Resource TimeGrid view; we can use it for free since we are a non-profit 2021-11-15 20:24:53 -05:00
134fdd5d08 Set time to today when refreshing events 2021-11-15 19:37:40 -05:00
d4dbaaf344 Drop dependency on Vue and use Webpack instead of Vite
Couldn't get Vue/Vite to transpile for ios 8 correctly, and I don't
really need it anyway...
2021-11-15 19:37:40 -05:00
9e04082b5b Switch from equicolor to unique-colors
As `equicolor` was throwing some TypeScript errors and is more
complicated than required
2021-11-12 13:42:57 -05:00
087601ba31 Use proxied ics files instead of google-calendar api
This means we don't need to expose a google API key to clients
2021-11-12 13:37:34 -05:00
f1995232bb Migrate to Vue 3 and vite 2021-11-12 11:32:27 -05:00
bdf9b1637f Add the tool name back in to the event title 2021-05-08 15:50:09 -04:00
cbb04c7334 Fix null check in eventData.title matching 2021-05-08 15:49:40 -04:00
779b9468f4 Import equicolor's typescript source instead of compiled js 2021-05-08 15:36:04 -04:00
6842d71240 Remove unused imports 2021-05-08 15:29:07 -04:00
95aa80afb1 Just map across calendars values to generate eventSources 2021-05-08 15:28:05 -04:00
c1ebedafc1 Remove url propery on events to prevent clicking leaving the page 2021-04-01 14:01:34 -04:00
71159a9a47 Hide Google Calendar API key in an external secrets file 2021-04-01 14:00:51 -04:00
a252b61316 Use calendar.refreshEvents() instead of refreshing each event source 2021-04-01 13:55:33 -04:00
37e814580a Allow filtering events by a tool name in query string param 2021-04-01 00:39:28 -04:00
542f5d8bf1 Set the current CMS business hours 2021-04-01 00:37:31 -04:00
780b478f07 Migrate to FullCalendar 5
also update other deps
2021-03-31 16:51:48 -04:00