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
caffafa7fc
Sort API me.quizs by DESC order
2022-02-23 15:56:06 +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
8dc1923219
Include active quizs.id in the /feed/meet API
2022-02-23 14:49:03 +01:00
Niko
791bb1eaf0
Make getQuiz a wrapper for use in other API methods
2022-02-23 14:47:57 +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
Niko
ae39f3141d
Created new view for pages.home for Quizs
...
* User is now able to view their pending quizs
* Quizs have 2 states: new (not answered) and answered.
Once answered you can't modify or re-upload the quiz.
* Once the crush accepts/rejects the Quiz answer, it will get deleted
2022-02-22 20:08:30 +01:00
Niko
ffc8f14280
Add "account" object in API /me/quizs
2022-02-22 18:12:58 +01:00
Niko
3de7d6b29a
Create API method for getting quizs for me
2022-02-22 17:46:04 +01:00
Niko
c6dd391bbf
Support deletion of quiz when the Note deletion is related
2022-02-22 10:07:39 +01:00
Niko
ab39f741f3
Intercept AP Create.Note and check if contains #fedilovequiz to parse
...
* FediLove Quiz is a standar text-based (parsed) protocol wrapped inside the object "Note"
that can create a Quiz inside FediLove instance so there can be an interaction between non-FediLove
instances and FediLove instances.
* TODO: implement the response from this side, so it goes parsed as a regular response to the original "Note"
but parsed so if the target instance is FediLove, it parses it as a quiz result and can be interpreted on any AP software
2022-02-21 23:54:59 +01:00
Niko
9f587750eb
Added a "app.warn" ns in locales for warning messages instead of all error
2022-02-21 22:27:28 +01:00
Niko
b50bd5621a
Fix pages.meet post html formatting
2022-02-21 22:06:15 +01:00
Niko
4bb004f675
Support AP post deletion event
2022-02-21 20:31:44 +01:00
Niko
e5d4c66f77
Added empty screen for pages.meet (when there is no data to show)
2022-02-21 20:04:09 +01:00
Niko
498110c7c3
Don't show private messages on pages.meet feed
2022-02-21 18:53:13 +01:00
Niko
ecf26c4eb8
String changes on error messages in pages.meet
2022-02-21 18:30:19 +01:00
Niko
fd84cd7e58
Added post collapse fa icon (instead of "view_less/view_more"
2022-02-21 17:53:25 +01:00
Niko
ccda81bb2d
A lot of improvements in pages.meet
...
* Better UX on dialogs (app.toast)
* Added messages on meet.actions most actions
* Locale changes
2022-02-21 17:21:38 +01:00
Niko
d98f41f914
Make pages.meet person image bigger by default
2022-02-21 10:59:18 +01:00
Niko
e0f7189043
Improved app.toast styles + changes templates to show icons
2022-02-20 20:28:36 +01:00
Niko
ef7b774c28
Created app.toast module for showing toast|messages to user
2022-02-20 19:24:14 +01:00
Niko
13a98f5d35
Remove unnecessary .js
2022-02-20 17:59:55 +01:00
Niko
779a7db902
Support options in app.overlay.create()
2022-02-20 17:58:23 +01:00