James Hillyerd
82ddf2141c
Create V2 API for monitor+deletes, revert V1 API ( #347 )
...
* Revert socketv1 controller API to maintain V1 contract, introduce
V2 controller for Inbucket UI.
Signed-off-by: James Hillyerd <james@hillyerd.com >
* Introduce MessageID for deletes, instead of recycling header
Signed-off-by: James Hillyerd <james@hillyerd.com >
* Update UI for monitor V2 API
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-17 12:37:17 -08:00
James Hillyerd
2da7ad61cd
ui: update browser list ( #342 )
2023-02-16 09:59:26 -08:00
James Hillyerd
561ed93451
feat: Monitor tab dynamically updates when messages are deleted ( #337 )
...
* WIP: msghub handles deletes, UI does not yet display them
Signed-off-by: James Hillyerd <james@hillyerd.com >
* socket and UI support message deletes
Signed-off-by: James Hillyerd <james@hillyerd.com >
* use Delete naming for consistency
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-14 19:02:06 -08:00
dependabot[bot]
e875a4c382
build(deps): bump json5 from 2.2.1 to 2.2.3 in /ui ( #302 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 10:09:25 -08:00
dependabot[bot]
3f7adbfb22
build(deps): bump terser from 5.12.1 to 5.14.2 in /ui
...
Bumps [terser](https://github.com/terser/terser ) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-21 02:45:45 +00:00
James Hillyerd
9aaca449f8
Fix non-root basepaths, closes #273
2022-05-22 21:47:52 -07:00
James Hillyerd
06d4120682
Migrate to Yarn & Parcel ( #260 )
...
* Switch from npm to yarn
* Add minimum viable parcel dev server config
* Remove webpack configs
* Update docker build, build w/ yarn on node 16.x
2022-04-23 13:35:54 -07:00
James Hillyerd
747775b8f2
Update npm deps ( #252 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2022-01-17 12:48:44 -08:00
dependabot[bot]
2c0d942c76
build(deps): bump follow-redirects from 1.14.0 to 1.14.7 in /ui ( #247 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.0...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 12:24:06 -08:00
James Hillyerd
867d5f5d7f
Update npm deps ( #235 )
2021-08-22 13:25:42 -07:00
James Hillyerd
9e2af71743
Upgrade node deps ( #227 )
...
* bump node deps
* npm audit fix
2021-07-31 16:09:30 -07:00
Nelson Efrain A. Cruz
bf8536abb3
Adds dark mode support ( #218 )
...
* Adds dark mode support
Updates the css to support dark mode via media query.
The dark theme its heavily inspired on the new dark mode for google.com.
2021-07-20 08:07:06 -07:00
James Hillyerd
e3066bb535
Update nodejs dependencies ( #209 )
...
* node: Update top level deps
* node: Audit fix
2021-05-06 11:22:50 -07:00
James Hillyerd
9b03c311db
ui: Replace Mailbox Session use with ServeUrl ( #185 )
...
Plus a couple UI padding tweaks
2020-09-24 15:59:12 -07:00
James Hillyerd
ebd25a60e1
ui: Remove to do comments, must keep session.router
2020-09-24 11:19:04 -07:00
James Hillyerd
7c87649579
ui: Convert Layout to use Effects
2020-09-23 23:00:29 -07:00
James Hillyerd
e56365b9a0
Update deps ( #184 )
...
* backend: update Go dependencies
* frontend: update npm dependencies
2020-09-23 21:39:27 -07:00
James Hillyerd
361bbec293
ui: Keyboard accessibility focus highlights ( #180 )
...
* Focus indication for mailbox message list
* Add focus for monitor message list
2020-09-22 14:11:06 -07:00
James Hillyerd
407ae87a3b
ui: Add refresh button to mailbox page ( #179 )
...
`socketConnected` is not implemented, but will be used when we implement #92
2020-09-21 20:11:32 -07:00
James Hillyerd
4648d8e593
ui: Use OpenSans font ( #178 )
2020-09-21 16:16:00 -07:00
James Hillyerd
5c5b0f819b
Effects refactor continued ( #177 )
...
* Use Effects instead of replaceUrl in Mailbox
* Add Effect.navigateRoute to handle monitor message clicks
* Add a focusModal effect for mailbox purge
* Remove temporary Cmd wrapper Effect
2020-09-13 17:08:11 -07:00
James Hillyerd
8adfd82232
ui: add npm run clean script
2020-09-13 10:39:16 -07:00
James Hillyerd
2162a4caaa
ui: Add an Effect system to handle global state and Elm Cmds ( #176 )
...
All pages now leverage Effects for most of their Session and Cmd requests. More work required for routing and other lingering Cmd use.
2020-09-12 19:45:14 -07:00
James Hillyerd
cf4c5a29bb
ui: Force file watch on dev server
...
file watch stopped working
2020-09-12 16:32:40 -07:00
James Hillyerd
6598b09114
ui: Start dev server with default host, not 0.0.0.0
...
0.0.0.0 does not work well with WSL2 on Windows 10
2020-09-06 16:38:33 -07:00
James Hillyerd
f712f5b0f3
Update frontend dependencies ( #174 )
...
* ui: update top level npm deps
* ui: update webpack dependencies
* ui: update elm-webpack-loader
* ui: npm audit fix
2020-08-30 18:48:41 -07:00
James Hillyerd
5a0c4778cb
Set base path in index.html ( #172 )
...
- Create a new index-dev.html for webpack live server
- Update Go+index.html to set <base href>
- Fixes #171
2020-08-29 19:06:21 -07:00
James Hillyerd
289b38f016
Add configurable base path for reverse proxy use ( #169 )
...
* ui: Refactor routing functions into Router record
* ui: Store base URI in AppConfig
* ui: Use basePath in Router functions
* backend: Add Web.BasePath config option and update routes
* Tweaks to get SPA to bootstrap basePath configured
* ui: basePath support for apis/serve
* ui: basePath support for message monitor
* web: Redirect requests to / when basePath configured
* doc: add basepath to config.md
* Closes #107
2020-08-09 15:53:15 -07:00
James Hillyerd
65a6ab2b4f
ui: Simplify updateMarkMessageSeen
2020-04-11 16:11:28 -07:00
James Hillyerd
9e1da20782
ui: Update Mailbox to use Timer module
2020-04-11 15:32:35 -07:00
James Hillyerd
4fc8d229eb
ui: impl Timer.schedule function
2020-04-05 17:27:22 -07:00
James Hillyerd
e8e506f870
ui: Refactor Timer into it's own module.
2020-04-05 16:22:16 -07:00
James Hillyerd
8a3d291ff3
ui: Improve layout menu function
...
- Rename menu to mainMenu for clarity
- Rename recent to recentMenu
- Add a mouseOut timer to recentMenu
2020-04-05 15:30:08 -07:00
James Hillyerd
4a90b37815
ui: Implement modal focus trap
2020-03-29 19:26:59 -07:00
James Hillyerd
baad19e838
ui: Add function signature to accept and store policies
2020-03-29 12:21:16 -07:00
James Hillyerd
c520af4983
ui: Linter dead code elimination
2020-03-29 11:54:12 -07:00
James Hillyerd
c312909112
ui: Cons related linter fixes
2020-03-29 11:41:23 -07:00
James Hillyerd
59ae2112f7
ui: Import fixes for src directory
2020-03-29 11:35:22 -07:00
James Hillyerd
1a45179e31
ui: Linter import fixes for Page directory
2020-03-29 11:28:47 -07:00
James Hillyerd
2b857245f7
ui: Fix linter warnings in Data dir
2020-03-29 11:13:31 -07:00
James Hillyerd
66c95baf05
ui: Horizontally center content on wide displays
2020-03-22 21:20:38 -07:00
James Hillyerd
22a7789b7b
ui: Prevent mailbox dropdown overflow
2020-03-22 20:40:02 -07:00
James Hillyerd
d2da53cc0f
ui: Convert main.css to mobile first
2020-03-22 18:49:45 -07:00
James Hillyerd
2436f2e3de
ui: bump elm filesize, date-format versions
2020-03-21 13:41:37 -07:00
James Hillyerd
fc76ce74cb
ui: bump elm indirect versions
2020-03-21 13:36:15 -07:00
James Hillyerd
eef4bbdb01
ui: bump elm core libs
2020-03-21 13:29:25 -07:00
James Hillyerd
201987f6a8
ui: Upgrade to elm 0.19.1, bump all JS deps
2020-03-21 13:07:59 -07:00
James Hillyerd
383386d5fb
Update lodash
2019-08-10 16:00:04 -07:00
James Hillyerd
a3e2c5247e
Update elm + elm-webpack-loader
2019-08-10 15:56:46 -07:00
James Hillyerd
702f9ef48e
Update top-level JS deps
2019-08-10 14:48:54 -07:00