Commit Graph

172 Commits

Author SHA1 Message Date
Niko 084b3d308b Changed toast.confirm.html 2022-03-30 20:43:24 +02:00
Niko 4c6acb0a64 Some UI fixes 2022-03-20 14:46:39 +01:00
Niko f6e673f795 Added settings.profile method and API to modify account ".name"
* Also added the needed framework for future value modifications
* TODO: send profile update notification to following servers
2022-03-20 02:58:29 +01:00
Niko 4a29977bb1 WIP: added overlay for editing settings via an input text (configurable) 2022-03-19 21:50:40 +01:00
Niko 6013c49d4a Add hover animation on settings.profile item click (for editing later) 2022-03-16 01:16:34 +01:00
Niko 5fa906270b WIP: added settings/profile page with basic information load 2022-03-14 22:00:21 +01:00
Niko 9fbfd38311 Allow a custom ts specification of waitUntil base.js 2022-03-14 21:59:47 +01:00
Niko 2ad27897fe Implement "href" options in menu config 2022-03-14 19:48:26 +01:00
Niko 9d2e1ca35d Little UI fixes 2022-03-14 19:37:41 +01:00
Niko a0050ded4a Little bug fixes and improvements
* Improved html treatment on quizs
* Redirect to home when quiz does not exist
* Show quiz send confirm message only when form validated
2022-03-09 00:05:53 +01:00
Niko 5610cde131 Fix crush discard confirmation when Accepted + some UI fixes 2022-03-02 18:57:11 +01:00
Niko 9529520bcd String refactoring on /app + added discard confirm in pages.meet 2022-03-02 02:11:16 +01:00
Niko 08bc50fcea Add confirmation on quiz.send and discard actions + Some z-index fixes 2022-03-02 01:17:55 +01:00
Niko 3519aba243 Add disabled state for Quiz when filled + More locales in /app 2022-03-02 00:54:38 +01:00
Niko 73bdac849f Added function for replying to a Quiz request from any platform
* The reply format is just regular HTML (text) which will help the
 originating user to choose if we can be it's crush
2022-03-01 23:59:55 +01:00
Niko f00aa6d9d8 Basic code added for sending quizs.
TODO: check quiz is valid, it hasn't been responded yet, and is owned by the actor responding
+ create Note with the response for activitypub + create federation INBOX event for parsing responses
2022-02-28 22:05:18 +01:00
Niko 034963b258 Refactor api.account to api.accounts + Added action.discard to quizs 2022-02-27 13:44:32 +01:00
Niko 8e1f2af662 Create module "api" for various repeated api method calls inside UI 2022-02-27 13:12:26 +01:00
Niko ccf5954091 Fixed race condition when scroll to 0 intends to happend after page-switch 2022-02-27 12:50:07 +01:00
Niko b0fefb4690 Support localized menu strings + improved some css for menus 2022-02-26 02:59:04 +01:00
Niko 258f69cc11 Created framework for showing menus easily on top of a button click 2022-02-26 02:41:11 +01:00
Niko d9420fffca Fix bug where customCss was filling html + some UX stabilization 2022-02-26 00:45:15 +01:00
Niko 6d85cb134c Reorganizing code 2022-02-26 00:23:08 +01:00
Niko 9d02511d35 Change javascript: to onclick= on most html 2022-02-26 00:05:26 +01:00
Niko 3252ce5d6f Wrap window.history.back() into "exit()" to be able to write a custom exit function in modules 2022-02-25 19:24:03 +01:00
Niko db0297297f Added css $variable use (like live-sass) + added discard/send buttons in quiz 2022-02-25 18:54:12 +01:00
Niko 4d4cb14a2a Add cssprops in a css.php module instead of by-JS loaded 2022-02-25 17:32:22 +01:00
Niko ba0afb813b Make images in pages.meet full size even if they are smaller 2022-02-25 15:45:03 +01:00
Niko e99f1bd636 Improve pages.home preloading when loading pages.quiz 2022-02-25 15:34:44 +01:00
Niko 2d501f7575 Support GIFs in pages.meet user profile image 2022-02-25 15:27:33 +01:00
Niko 6bf5ee7fcd Added a navigation at bottom with "Back" button in fullscreen
* Refactor all buttons with "noback" to support custom backgrounds
* Create calcCustomCss function that creates custom background-color hover colors automatically
* Other refactors
2022-02-25 15:25:21 +01:00
Niko e973da1aa8 Animation framework using JS + Improvements in Quiz UX 2022-02-25 13:27:25 +01:00
Niko 452837cf55 Improved UX + change form of quiz to be global 2022-02-24 10:01:52 +01:00
Niko 76b6787c60 Add app.fullscreen module to handle virtual "fullscreen" of app content 2022-02-24 01:11:39 +01:00
Niko ac4a4ac715 Added options on Quiz + Improved UX in pages.quiz and other App aspects 2022-02-24 00:59:10 +01:00
Niko 27eefb7da3 Avoid computation of code blocks search in template if no callback 2022-02-23 20:00:14 +01:00
Niko 36151c128c Support template blocks in app.template, to be used in loops 2022-02-23 19:56:00 +01:00
Niko c8966e1c8b Basic quiz.index implementation done. TODO: options using {loop} 2022-02-23 19:28:59 +01:00
Niko b41812592d Disable pages.meet actions.maybe when user is already a crush 2022-02-23 17:40:44 +01:00
Niko 29620c3bb1 Created module app.button for controlling button disabled states 2022-02-23 17:29:39 +01:00
Niko f273506d9d Added app.preload module to be able to add preload methods for other UI modules 2022-02-23 15:49:54 +01:00
Niko 4e3501ce37 Show up a button to the Quiz related to pages.meet item 2022-02-23 15:32:20 +01:00
Niko 0b49d59ee1 UX improvements on pages.home quizs 2022-02-23 14:09:35 +01:00
Niko d00803e90f Preload quiz.index template on pages.home quizs loading 2022-02-23 10:49:56 +01:00
Niko 5cff51596e Change pages.meet.exit() to window.history.back to support browsing history 2022-02-23 10:41:11 +01:00
Niko 06008f5a8f Preserve last URL hash in /app to make going back easier 2022-02-23 10:34:52 +01:00
Niko 2ae794a92f Some refactoring + UX improvements + translations 2022-02-23 10:18:47 +01:00
Niko 7ea551fffb Remove chrome blue highlight and outline + some accessibility improvements
* TODO: test more elements in all UI for better accessibility
2022-02-23 09:51:05 +01:00
Niko c33f833a6b Added custom emoji in pages.home quizs + improve UX 2022-02-23 09:20:59 +01:00
Niko 2e6b06ed57 Implement pages.quiz for loading and filling a Quiz in /app
* Added id= filter in API /me/quizs
* Added animations slide-to-(right|left)
* TODO: develop the quiz.index template
2022-02-22 22:26:13 +01:00