Commit Graph

78 Commits

Author SHA1 Message Date
422e89caee Fixed serverFunctions naming issue 2026-04-06 12:25:47 -04:00
d0df371a3c Sidebar controls for calendar
- Added toggle for switching between day/week/month (calendar) in the sidebar
- Added a "lightdivider" shared.css var
2026-04-04 20:32:40 -04:00
metacryst
a1803a6f4a Merge branch 'main' of https://git.sun.museum/sam/ForumMobile 2026-04-04 01:41:37 -05:00
metacryst
3fe1386415 remote url changed 2026-04-04 01:41:35 -05:00
a306f0732c Removed /db from getImageURL 2026-04-03 19:23:07 -04:00
027ae4d130 Added CSS var and /@server on viite config 2026-04-03 13:56:17 -04:00
metacryst
2592137fa3 quill updates, signup comment 2026-03-31 07:08:07 -05:00
metacryst
8279a81dc9 updating quill 2026-03-28 02:24:04 -05:00
metacryst
2faa9e740e xcode changes for release 1.0.0 2026-03-27 06:03:28 -05:00
metacryst
a589977015 notifications setting 2026-03-26 07:44:51 -05:00
metacryst
06e2fabe81 push notifications working 2026-03-26 05:56:14 -05:00
metacryst
d107d68bcc push notifications working, server functions coming from backend 2026-03-26 02:32:59 -05:00
metacryst
472e69d3c0 adding error handling for signup, moving delete account button in sidebar to bottom 2026-03-25 23:41:45 -05:00
1c61a4d202 Delete account in sidebar 2026-03-24 16:39:53 -04:00
40b0855ca5 EnterCode Signup working
- After fetching join code in EnterCode(), it sets networkId attribute on "signup-" (Signup.js)
- Signup.js then includes the attribute in the call body
- Modified all calls to /signout, /profile, /login, /signup to be prefixed by '/auth'
- Added '/auth' to vite config file
- Modified final "else if" statement in .attr in quill.js to return `this.getAttribute(arg1)` instead of `this.getAttribute("")`
2026-03-24 15:48:23 -04:00
124066da59 Apps load from server
- Deleted /Jobs, /Announcements, /Events, /People
- Commented out Forum and ForumPanel
- Deleted /components/SearchBar, /components/LoadingCircle, /components/AddButton
2026-03-24 14:51:44 -04:00
metacryst
f3aceb69af accepting code for auth page 2026-03-24 10:39:57 -05:00
metacryst
a87d521a4f improving authpage 2026-03-24 06:07:29 -05:00
metacryst
c5b71add07 custom app rendering 2026-03-24 04:16:00 -05:00
metacryst
881c9408b6 new announcements page, adding searchbar and message input. 2026-03-23 05:26:55 -05:00
metacryst
35f0fe3654 smaller font for header, announcements full size always 2026-03-21 06:54:53 -05:00
metacryst
21b7b0a252 Sidebar fully functional 2026-03-21 03:10:50 -05:00
metacryst
1c6f12c210 preliminary sidebar fixes 2026-03-20 17:16:05 -05:00
56f7c7d3a3 Sidebar + Profile changes
- Sidebar displays profile photo and name, can be tapped on
- Profile now has "Tap to edit" button on photo
2026-03-20 14:13:14 -04:00
c7ddb02ac1 Sidebar content moved to new draggable sidebar 2026-03-20 13:43:11 -04:00
63fbab34ce Announcements page
- Updated handlers.js
- Repurposed Forum and ForumPanel for Announcements
- Adjusted styling
- Commented out long drag logs
2026-03-20 12:36:23 -04:00
metacryst
8fad5d7717 fix events icon, misc errors, new sidebar started 2026-03-20 09:27:56 -05:00
metacryst
41a9c9d269 adding state() to quill, after-request error handling to login 2026-03-20 00:36:33 -05:00
dd1ec2c374 Upload image
- Image upload works on profile
- added multer into package.json for handling image files
- files are saved under /db/images/users/user-id/profile.ext
2026-03-19 20:25:23 -04:00
58589c56dd Add event + add job form
- Modified handlers to catch errors
- Added placeholder "No location added", etc. messages to Job/Event cards
- Added EventForm.js and JobForm.js for adding
- EventForm and JobForm are animated to slide up from bottom
- Modified openProfile/closeProfile logic
- Fixed SidebarItem().onClick() firing twice bug (switched to .onTap)
- Profile is now animated to slide up from the bottom
2026-03-19 15:32:51 -04:00
metacryst
8dd2312aa0 fixing logout, people not scrolling, sidebar being too short 2026-03-19 08:54:53 -05:00
metacryst
5a56dfa051 improving styling, fixing bugs with profile, login error handling 2026-03-19 07:41:18 -05:00
3a5214ed45 Added missing Profile element
- User's "joined" info
2026-03-19 00:19:41 -04:00
72f0518f9d Profile + Edit Bio + Logout + styling
- Added handler for editing bio to handlers.js
- Added openProfile() and closeProfile() buttons in AppWindowContainer (Profile page is global)
- Added Logout and Profile functionality to Sidebar.js
  - SidebarItem(text).onClick() fires twice, unable to resolve
- Adjust Login page styling
- Added onLogout() to index.js (removes auth_token)
- Added Profile.js, displays user's profile picture (placeholder), name, and bio. User can edit bio.
- Added removeAuthToken() to util.js
- Added /signout to vite config
2026-03-19 00:14:29 -04:00
ede464fb0d Search in Events/Jobs
- SearchBar now dispatches 'jobsearch' or 'eventsearch' event whenever the user submits a search query
- Jobs/Events will then receive searchText to do general search
- Fixed bug where Jobs/Events wouldn't scroll anymore
2026-03-18 20:11:08 -04:00
2082e0c7bc Signup/Login + styling adjustments
- Modified SearchBar styling
- Modified TopBar to display blank circle if the user has no networks (previously missing image icon)
- Refactored Login into AuthPage.js
- AuthPage contains a tab selector for switching between Signup and Login
- Both Login/Signup send the request and either receive an auth_token or an error message
- If auth_token, user will be logged in as usual, in both cases
- Signup validates user input before sending request
- Added /signup target in vite config file
2026-03-18 17:36:03 -04:00
metacryst
d1e4814593 successfully connecting to prod 2026-03-17 07:00:27 -05:00
metacryst
530ea7da89 app icon, styling, light mode, top bar component 2026-03-17 05:33:28 -05:00
metacryst
5903bafee5 better styling 2026-03-16 23:55:56 -05:00
8452841460 Styled Jobs and Events like Figma mockups
- Modified some darkmode css values to match those on the figma
- Fixed misnamed calls to var(--darkaccent) from var(--accentdark)
- Commented out trash/delete button on EventCard and JobCard for now
- Hid scrollbar on Events/Jobs
- Fixed mis-centered People list
- Fixed colors in searchbar in events/jobs
2026-03-16 21:40:03 -04:00
metacryst
69b359d9a1 making login work for prod 2026-03-16 07:56:40 -05:00
metacryst
a626abe1c3 improve styling, fix bottom bar underline bug 2026-03-16 01:09:48 -05:00
834d5e763e Connected DB to events/jobs + more
- Modified handlers.js to be the same as on frm.so
- Added --trash-src to shared.css
- Modified Event and Job cards to include a trash icon for deleting
- Deleting works, it just does not smoothly re-render yet
- Adjusted visual bug on Events/Jobs where the contents of the AppWindow would overflow vertically. They now scroll and the title/search bar remain fixed.
- Refactored part of People.js into PeopleCard.js
2026-03-15 19:45:04 -04:00
dde27f9b31 Merge branch 'main' of https://git.sun.museum/sam/ForumMobile 2026-03-15 16:00:38 -04:00
0d5e68188d Set up bridge folder + changes to Events/Jobs
- Copied bridge folder from frm.so
- All handlers in handlers.js added from frm.so
- Modified Events and Jobs pages' default events/jobs to model data structure from SQL/server
- Set up getJobs(), checkForUpdates() on both Events/Jobs to fetch new items and update when needed
2026-03-15 16:00:37 -04:00
metacryst
fc2d9c2bc9 making ready for production, fixing app menu spacing, some better icons 2026-03-15 08:13:44 -05:00
cb11d68fa7 SearchBar component + Jobs changes + Events changes
- Added SearchBar.js to components (repeated in Jobs and Events)
- Set .position("relative") on AppWindow for LoadingCircles and future fixed/absolute elements
- Refactored Events.js and Jobs.js
- Added unfinished JobForm.js for editing/adding Jobs, preliminary designs/setup
2026-03-14 23:26:15 -04:00
metacryst
07f431e2a3 merge 2026-03-14 16:53:38 -05:00
e85ffc66f8 Jobs + Events Pages
- Added Jobs/Events pages, need to set up with backend once complete
- Added missing icons and fixed incorrect icons
- Made AppMenu icons highlight when selected
- Removed Settings from AppMenu
- Fixed undefined data in People
2026-03-14 17:01:06 -04:00
metacryst
cc8b5035fe Fixed screen size, added dark mode app menu icons, added haptics, added keyboard dismiss with swipe 2026-02-16 06:41:05 -06:00