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
Niko
0c405137c2
recalc height-mobile on overlay show
2022-02-20 17:50:13 +01:00
Niko
bacf4330bd
Improve UX on post collapse + some fixes + code improvements
2022-02-20 17:48:01 +01:00
Niko
d952cab678
Hide pages.meet actions when status is full-screen + css improvements
2022-02-20 17:37:29 +01:00
Niko
b0920c186e
Implemented post trail to view current and pending posts
2022-02-20 17:04:25 +01:00
Niko
95adab3ad4
Code improvements using css properties
2022-02-20 04:07:59 +01:00
Niko
1bc1ac3a34
Code improvements: added a way to add html var (properties)
2022-02-20 04:02:41 +01:00
Niko
3619dd6f8d
(Really) fix firefox address bar height problem on mobiles
2022-02-20 03:24:17 +01:00
Niko
81072c6bc9
Fix firefox address bar height issue
2022-02-20 02:01:06 +01:00
Niko
62f46f9562
Added app.media module and template to view page.meet images
...
* Also fix Firefox height problem when hiding address bar in Mobile
2022-02-19 18:38:30 +01:00
Niko
63941493a9
Improved UX on pages.meet collapsible posts
2022-02-19 17:16:40 +01:00
Niko
7ce1522234
Add discard implementation on pages.meet actions
2022-02-18 17:52:34 +01:00
Niko
ddce1560bf
Added discard/maybe buttons on pages.meet
2022-02-18 17:31:38 +01:00
Niko
7ba0468aaa
Added authenticated API methods to block/unblock accounts
...
* This will also make it discard that accounts in meet timeline
2022-02-18 17:05:33 +01:00
Niko
9d443c94d4
Add '...' before collapse view_more link (when collapsed)
2022-02-18 15:13:30 +01:00
Niko
1ee9009628
Added view-more collapse function on pages.meet posts
2022-02-18 14:42:04 +01:00
Niko
70f3a148ef
enable debug painting
2022-02-18 12:05:45 +01:00
Niko
e85e59d875
Remove focus on Heart icon (Crush action) when clicked
2022-02-18 12:01:45 +01:00
Niko
48890e5b5e
Add the option to permitUserSelect on element drag animations
2022-02-18 11:56:16 +01:00