b20ce6da06e12f72a6d0d1fd3439b2cf7936006a
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
Created with Capacitor Create App
This app was created using @capacitor/create-app,
and comes with a very minimal shell for building an app.
Running this example
To run the provided example, you can use npm start command.
npm start
Background Color
In src/manifest.json, "#31d53d" refers to the green color which is visible in the background in the web version. This is not visible in the built version.
Running iOS
https://capacitorjs.com/docs/ios#adding-the-ios-platform
npm install @capacitor/ios npx cap add ios npx cap open ios
To Rerun: npm run build && npx cap copy ios
Note
You need to be in mobile mode in order for the app to work, in the top right corner of dev tools.
Description
Languages
JavaScript
93%
Swift
3.3%
CSS
1.3%
HTML
0.9%
Ruby
0.9%
Other
0.6%