Commit Graph

24 Commits

Author SHA1 Message Date
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
1c6f12c210 preliminary sidebar fixes 2026-03-20 17:16:05 -05: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
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
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
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
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
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
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
f02f181058 Introducing dark mode, deriving apps in bottom bar from db 2026-02-13 20:25:46 -06:00
770d3bb012 Forum changes
- Added 2 new svg icons
- Fixed visual styling bugs on Forum page involving overflowing containers
- Added current network name underneath "Forum" title
- Input in Forum.js now sends ws message to server with new post, which is then broadcasted through the ws
- Forum app now displays a list of posts for the current network showing the author, time, text, whether it's been edited, and whether it's yours
- ForumPanel.js .onClick() contains the ws calls for DELETE and PUT
- Fixed bug where Forum would not scroll to top upon a new post/onAppear
- Modified ws GET call in ForumPanel.js to reflect new format
- Added .onEvent() handlers inForumPanel.js for "new-post", "deleted-post", and "edited-post"
- Changed AppMenu People icon
-
2026-02-08 22:44:19 -05:00
b20ce6da06 People app and navigation + fixes
Index.js
- Fixed issue where incorrect pathname was set while not part of an organization.
- onNavigate(), fetchAppData(), getDefaultNetworkName(), and getDefaultAppName() all modified to account for user not being part of an organization (default path set to /my/dashboard)
- onNavigate() modified to properly set defaults for currentNetwork and currentApp, and modified to fix issue where app would crash when attempting to access nonexistent 'this.currentNetwork.data'
- onNavigate() now correctly switches currentApp

Home.js
- Changed ZStack to a VStack
- Replaced Jobs switch case with People
- Adjusted styling for AppMenu() and VStack height values
- Changed .onNavigate() from function() to () => {} for correct this binding
- !!!(TEMP FIX)!!!: Added extra rerender() call in an .onClick() after .onNavigate()

AppMenu()
- Modified app icons to be highlighted when active
- Changed Forum's app icon to redirect from "/" to "/dashboard"
- Removed fixed styling to account for Home's new responsive VStack layout

People.js
- Added People.js

Messages.js
- Fixed missing 'global." before Socket.send
- Changed 'vh' height values to 'pct' to account for AppMenu() at bottom
- Fixed misnamed modifiers

Forum.js
- Adjusted styling
- Changed 'vh' height values to 'pct' to account for AppMenu() at bottom

styles.css
- Added missing custom color vars
2026-02-02 04:34:26 -05:00
metacryst
6262ce53aa establishing ws connection, starting on messages section 2026-02-01 16:11:11 -06:00
metacryst
7f3f266d52 init 2026-01-25 06:27:57 -06:00