Lance Edgar
24667ead2a
Consolidate some perm check logic
2020-02-23 21:09:04 -06:00
Lance Edgar
0b4e4f9894
Add proper logout logic to menu; let caller hide root options, about link
2020-02-11 13:54:53 -06:00
Lance Edgar
c17c25b4cb
Change aria-role (to "menu") for main user menu
2020-02-11 13:42:47 -06:00
Lance Edgar
3c4e9567a9
Add user_is_admin
flag to app store, plus logic to set/clear it
2020-02-11 13:33:54 -06:00
Lance Edgar
a80a42fb56
Add session_established
flag in global store
2020-02-11 11:06:11 -06:00
Lance Edgar
7664f9bbb9
Delay showing the app until user info is fetched
2020-02-10 19:53:36 -06:00
Lance Edgar
5451f87f30
Remove some redirect magic, for logged-in users
...
that is now the custom app's responsibility
2020-02-10 17:35:45 -06:00
Lance Edgar
4501505f38
Stop including Home link in menu
...
caller must explicitly do that if they want it
2020-02-10 17:35:22 -06:00
Lance Edgar
a1a9aafdac
Stop forcing redirect to login for anonymous user
...
custom app should be responsible for that i think..yes?
2020-02-10 16:31:33 -06:00
Lance Edgar
f0d94cf06b
Let caller control whether app footer is shown
2020-02-10 16:31:19 -06:00
Lance Edgar
3d89cffa65
Let caller control whether Login and Feedback menu items are shown
2020-02-10 16:30:38 -06:00
Lance Edgar
e131305902
Force redirect to login page, if settings say so
...
this is pretty rudimentary, probably needs to be smarter or else should maybe
just be defined within final app instead of byjove
2020-02-10 14:18:28 -06:00
Lance Edgar
ac5231c657
Add icons to nav header buttons
...
although we probably will need a way to remove those soon.. since we don't
have a ton of space up there
2020-02-09 16:30:36 -06:00
Lance Edgar
fb5e6cde46
Add page-content-wrapper to main app template
2020-02-08 21:21:39 -06:00
Lance Edgar
7f1ef1b335
Fix bug when checking user session
...
must have a user before can be root
2019-12-02 13:53:23 -06:00
Lance Edgar
915b58aafa
Absorb header, footer into main section of feedback dialog
...
trying to make it less wonky...
2019-11-26 16:55:39 -06:00
Lance Edgar
817d8bef13
Add app/menu support for "become / stop being root" feature
2019-11-26 16:43:51 -06:00
Lance Edgar
67155acf40
Assign background color, if specified by API
2019-11-15 15:10:52 -06:00
Lance Edgar
55efba432a
Let caller specify how to generate row item routes, for model-crud
2019-11-15 10:30:51 -06:00
Lance Edgar
d8e215a1dd
Add slot for row filters, in model-crud
2019-11-12 19:05:24 -06:00
Lance Edgar
b378033426
Fix 'input' event when autocomplete selection is cleared
2019-11-12 17:51:28 -06:00
Lance Edgar
a6555b7bae
Add way to hide save/cancel buttons for model-crud
2019-11-12 17:51:10 -06:00
Lance Edgar
0c247866c4
Add basic autocomplete component
2019-11-12 11:51:00 -06:00
Lance Edgar
84b2a2bf70
Cleanup global state logic a bit, for current user and permissions
...
this still isn't ideal perhaps, but leaves some clues for improvement
2019-11-12 11:49:07 -06:00
Lance Edgar
eab0ebcc00
Add "quick entry" slot for model-crud component
...
custom app must define template etc. for that, if/when needed
2019-11-11 11:27:55 -06:00
Lance Edgar
18766831ea
Add 'model-index' and 'model-crud' class to component divs
...
so the app can customize styles more easily
2019-11-08 19:45:58 -06:00
Lance Edgar
e83d98905a
Add basic pagination support for model index, and view w/ rows
2019-11-06 22:29:59 -06:00
Lance Edgar
c87fd1ab35
Add "model crud" component
2019-11-06 20:18:07 -06:00
Lance Edgar
2c728216a1
Add "model index" component
...
at least, the beginnings of one. a little clunky yet but seems do get the job
done...
2019-11-06 19:27:16 -06:00
Lance Edgar
62981b8e90
Try to get Vue.use()
to work with components
...
but really, test the release again, b/c it's not working yet...
2019-11-06 15:19:44 -06:00
Lance Edgar
11392e864e
Add basic "menu" component, for typical use case
2019-11-06 13:22:53 -06:00
Lance Edgar
554736e842
Add "app" component, for basic layout and housekeeping
2019-11-06 13:01:27 -06:00
Lance Edgar
5ef0703d60
Add "feedback" component; vuex store config
...
seems i have a lot to learn...pretty sure this isn't very clean yet
2019-11-06 10:55:52 -06:00
Lance Edgar
7bdaeee691
Add initial "logo" component
...
still just proving some concepts at this point
2019-11-06 00:10:26 -06:00
Lance Edgar
7e2f318f8d
init
...
this repo was created by running `vue create byjove` and then:
use defaults? Manually select features
features needed: Router, Vuex
use history mode for router? Yes
where to place config? In dedicated config files
save as preset? No
(and then i had to edit commit msg to add the above)
2019-11-05 18:41:00 -06:00