Commit Graph

2164 Commits

Author SHA1 Message Date
Bofh 4ae389fb7a UI improvements on /matches page
* Added separators for items
* Added final separator with different color (to separate different states of accounts)
2021-01-25 01:06:04 +01:00
Bofh 147fb50569 Improving matches management screen (which is made from scratch)
* Now the items link to it's account view screen
* Implemented loading of follow requests (which are match requests)
* Improved UI on account items (/matches page)
2021-01-24 17:52:43 +01:00
Bofh 37c181ddbb Advanced on the /matches page, created basic template and css 2021-01-18 00:33:52 +01:00
Bofh 33455f191a Fixed bug where changing header of profile was returning old profile + UI improvements 2021-01-17 21:30:49 +01:00
Bofh 6d599f1b4d Implementing APIs for the matches control screen + some tweaks to current discard/match feature
* Now the discard/match function call reject/authorize respectively to the follow requests (if any)
 this causes 404 error when there is none, but it is OK. This is a feature, not a bug.
* Mastodon API improved to check callback is null
* Matches pages cleared out to start from scratch
2021-01-14 00:36:49 +01:00
Bofh 92cb0668d0 Improved user experience when "Matching" accounts + internal improvements
* toasts now support custom time and optional renderHtml
 for cases we need to draw HTML from the intl.text.
 (Make sure no user input is on any intl.text used with renderHtml, as it is not XSS safe)
* Toast needs to be initialized so we made an ugly hack to do so. We push the script to create an empty non-visible Toast on WebApp load
* Now _layout.html loads intl messages needed for fedilove-no-react
* UI improvement: Matching now shows a beautiful "Match <3" circle on top of the other person for 6 seconds
* Stability improved
2021-01-12 01:47:08 +01:00
Bofh 51f318e1a4 Some improvements and new internal-code features
* We can use fediloveUI.toast(msg) to send a message using the React toast
* I couldnt manage to export formatIntl function to the outside, and the only option was to set the desired keys at the _layout.html initial load
* Some little fixes and localizations
2021-01-11 23:21:09 +01:00
Bofh 8d2194af4b Implemented "Maybe" feature. Ignores account for 24 hours (localStorage)
* I wanted to add a Maybe feature, so it won't show us an account for 24 hours
 in case we are not sure of someone, and want to give him/her another chance
* Little fixed and improvements
2021-01-11 20:37:23 +01:00
Bofh 0a9d739269 Permit user to reload relationship states by refreshing the URL 2021-01-11 19:42:00 +01:00
Bofh 9deba874e1 Implementing account relationships control on Meet Timeline
* Fill relationships of all current statuses to fediloveData
* Added match discarding featire on Meet timeline (not working 100% OK yet)
2021-01-11 01:26:54 +01:00
Bofh 55c4ec5ee1 Change /federated path to a more suited path /meet 2021-01-10 23:48:50 +01:00
Bofh 5c1fc7cb13 Fixed blocking was to 1 account because of typo + Trying to Implement matches
* Matches are a "follow" on Mastodon. As accounts are always private, the other party
 has to accept the follow (match)
2021-01-10 20:20:55 +01:00
Bofh e897a4c99d Finished implementing Meet Account discard:
* Now showing "nothing to show" message when there is noone in the timeline to meet
* Fixed account view click not showing accounts correctly after discarding
* Improved UI on Meet account
2021-01-10 19:34:43 +01:00
Bofh 2b9c2424fe Trying implementations of the "Nope" feature on Meet account
* Nope is implemented by blocking the account, as by doing so, it won't appear anymore
* However, accounts will be silenced as soon as a message comes from someone that did not match both parties
2021-01-10 16:17:42 +01:00
Bofh 4291d4e442 Improvements on Meet Account profile images loading 2021-01-10 15:21:49 +01:00
Bofh 9094e0b844 Implementing a way to fix the view on the current Meeting account to:
* Avoid auto-updates on timeline
* Control the timeline index, so when the account is discarded in any way, we don't show it anymore
2021-01-10 02:52:07 +01:00
Bofh e28cfabbcc Change div to button on Meet actions cuz bugs on mobile 2021-01-10 01:26:29 +01:00
Bofh 59cf733942 Added reload + report buttons on Meet page + Don't show myself on Meet timeline 2021-01-10 00:05:45 +01:00
Bofh 782e205577 Improved icons on account actions 2021-01-09 22:21:34 +01:00
Bofh e20c77e08f Added Age and Place (Location) to Meet Profile on /federated 2021-01-09 20:01:53 +01:00
Bofh 3d5e797755 Updated README.md to present FediLove 2021-01-09 18:03:25 +01:00
Bofh bc5fd8eb4e Fixed race condition where $ (jquery) was not loaded before fedilove.js
* Also fixed messages replacing #FediLove was removing too much text
2021-01-09 00:53:55 +01:00
Bofh 7f5af52e20 Remove #fedilove from all messages? + Small few improvements:
* Redirect to / when logged out
* Replace #fedilove on all messages to nothing
* Improve buttons by default
2021-01-09 00:19:03 +01:00
Bofh c1cb2f212e Added "Matches" page
Matches page will show the follows/followers and both following as:
 People matched me / I matched people / We matched together
For this feature to work we have to make sure the Mastodon account is private,
 because we will use the "accept friend request" as a "both match"

Fixes:
* Improved chat painting intervals
* Added matches intl and new pages
* Fixed Toast UI
* Fixed a bug where home will not display correctly when before login
* Removed notification options from settings
* Improved code stability
* Added "myAccountId" fediloveData, which contains the user account id
* Replaced localStorage.userAccountId for fediloveData.myAccountId
* Improved path URL handling for /settings and /accounts
2021-01-07 01:25:04 +01:00
Bofh 4681c5a3e3 Removed theme selection option in settings + UI improvements 2021-01-06 20:30:30 +01:00
Bofh 4e92d49261 New UI improvements + URL interval handler made faster
* Log in button now has mastodon white icon
* Home navigation with FediLove icon added
2021-01-06 19:51:54 +01:00
Bofh a2233466c2 Few improvements on not-logged-in pages
* Fedilove JS resources now load even faster
* Remove fr lang (will re-do it later, from en-US.js)
* Removed wellness options on settings
* noscript handled correctly now, you cant use FediLove without js
* UI improvements on HOME
2021-01-06 17:39:54 +01:00
Bofh 68a99f087b Multiple improvements to make it look to competitors
* Notification dot is up and shows no number
* Notifications shows on direct instead of "notifications"
* Asterisk icon instead of notifications because it will be the "matches" page (following/followers on Mastodon)
* Make person name appear under the person main photo
* Testing NOPE,MAYBE,MATCH buttons (layout)
* Name on chat has now white-space: nowrap
* Fixed bug where you could slide images when there is none on profile, and make navigation icons appear
2021-01-05 00:48:01 +01:00
Bofh e9154610ee Fixed navigation bugs and more improvements 2021-01-04 22:40:19 +01:00
Bofh d8da16a0ef Fixed bug where swipe events was added more than once and other screens were not working 2021-01-04 01:14:42 +01:00
Bofh 58265980cb Fixed account navigation bugs + added better account no images uploaded handling 2021-01-04 00:23:48 +01:00
Bofh 213af5e91e Improved account images navigation (not yet 100% rock-solid) 2021-01-03 19:32:11 +01:00
Bofh 0b2ac35e96 Make UI look more like the compiting dating Apps :) 2021-01-03 14:13:37 +01:00
Bofh d46cf454b3 Implemented account images indexes controlling on fedilove.js 2021-01-03 02:44:11 +01:00
Bofh 276c6e3b6e Added image navigation icons (not functionality) on accounts/{account} page 2021-01-03 01:51:44 +01:00
Bofh b354cc7031 Improved account images positioning and fill + Added feedback :focus on back buttons 2021-01-01 02:55:49 +01:00
Bofh 8fd7855600 Improved navigation from meet to account + UI for account dev 2021-01-01 02:12:44 +01:00
Bofh 4a224ff6c1 Account load only #fediloveimg tagged + some animation improvements on meet timeline 2020-12-31 22:30:01 +01:00
Bofh 435a1a087a Improved meet timeline and added a swipe animation to go to party account 2020-12-31 21:18:07 +01:00
Bofh 20f499f8e0 Design of the meet timeline, improved a lot 2020-12-31 18:39:13 +01:00
Bofh 058a41019c Added new MeetStatus component for the meet timeline (/federated)
The idea is to make items 100% viewport height and implement a sliding
effect which will show the persons profile (which profile shows just images)
The way to go to the next person is to dismiss (kind of like a NOPE in Tinder)
2020-12-31 16:27:36 +01:00
Bofh e721c9e35a Only filter the federated timeline
(direct messages should not be filtered like this)
2020-12-31 14:32:12 +01:00
Bofh 229908e0f3 Federated timeline was replaced by #fedilove hashtag timeline
For better and faster infrastructure and application, we needed to change the
timeline full of giberish on federated to something a lot more limited.

In every post someone writes using FediLove, a #fedilove hashtag will be included at the end
to make sure their posts appear on this timeline, and be able to interact with people
2020-12-31 13:58:51 +01:00
Bofh e88cb59b31 Remove #fedilove on chat and statuses at UI level + some UI improvements 2020-12-31 13:02:22 +01:00
Bofh 0f2bf7fcfe Don't remove #fedilove at data level (will do at UI level) 2020-12-31 12:35:26 +01:00
Bofh f4677e45f4 Filter #fedilove on federated timeline and direct messages
to-do: think about leaving this client side?
Is there a way to filter federated toots on Mastodon by searching a name containing X string?
2020-12-31 01:22:13 +01:00
Bofh 3d0eaaea66 Change Chat page UI 2020-12-30 23:17:58 +01:00
Bofh 136d51e2bc Improved UI when first loading WebApp (you could see the no-script base blue theme) + some cleanup 2020-12-30 20:14:48 +01:00
Bofh 58c4049d09 Fixed race condition where the chat update function could not be used 2020-12-30 15:43:59 +01:00
Bofh 7649f30323 Add chat enter to send + chat ctrl or shift enter to keep writing 2020-12-30 15:35:48 +01:00