Commit Graph

58 Commits

Author SHA1 Message Date
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
metacryst
83a640433a adding app icon and splash screen 2026-02-15 05:32:58 -06:00
metacryst
cee8ebecc5 built ios app working 2026-02-14 21:43:55 -06:00
metacryst
f02f181058 Introducing dark mode, deriving apps in bottom bar from db 2026-02-13 20:25:46 -06:00
metacryst
4432acfea5 [BUG] fix double click to open app 2026-02-09 02:56:00 -06:00
metacryst
9d0149de75 Merge branch 'main' of https://git.sun.museum/sam/ForumMobile 2026-02-09 02:02:53 -06:00
metacryst
e548dbb6c9 add people icon 2026-02-09 02:02:19 -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
metacryst
3bf23daa7a Merge branch 'main' of https://git.sun.museum/sam/ForumMobile 2026-02-06 06:41:56 -06:00
metacryst
6cbb4c8dad basic sidebar toggle 2026-02-06 06:41:54 -06: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
a68f35faf5 WS connection crash fix
- constructor() in index.js would attempt to fetch profile with getProfile() before websocket connection was established
2026-02-01 23:07:52 -05:00
metacryst
6262ce53aa establishing ws connection, starting on messages section 2026-02-01 16:11:11 -06:00
metacryst
6d50337e3b getting things going 2026-01-29 08:20:27 -06:00
sam
c09b08a474 Merge pull request 'master' (#1) from master into main
Reviewed-on: #1
2026-01-25 06:29:01 -06:00
metacryst
7f3f266d52 init 2026-01-25 06:27:57 -06:00
metacryst
fd27ac9c69 sidebar 2026-01-13 18:06:32 -06:00
Eric Lewellen
5b0f69b7aa readme update 2026-01-13 17:55:11 -06:00
Eric Lewellen
2d71dd0245 Merge branch 'readme' into 'master'
adding readme

See merge request hyper-drive/blockcatcher-app!2
2026-01-13 23:48:36 +00:00
Eric Lewellen
7a3dabc9aa adding readme 2026-01-13 17:47:57 -06:00
Eric Lewellen
aba685fb72 Merge branch 'main' into 'master'
Main 2 master

See merge request hyper-drive/blockcatcher-app!1
2026-01-13 23:38:53 +00:00