Skip to content

Apply special wording and styling for perspective tracking

Issue was suggested by @ABW , I believe it makes sense. In his own wording, the illustration below:

When I’m looking at account page I’m in perspective of that account, which should influence how operations are visualized, f.e. "alice voted 100% on bob/hello-there", but "alice/introduction received 50% vote from bob" - the latter would be formatted as "bob voted 50% on alice/introduction" when viewed from neutral perspective like block page; perspective tracking also allows indication of outgoing transactions f.e. with slightly different background color compared to incoming transactions

So 2 items need to tackled here:

  1. In the user profile page display, if there is an action, such as receiving a vote, that is received by the user or their content, the wording should be under the format of "alice/introduction received 50% vote from bob" i/o current format "bob voted 50% on alice/introduction". This will only apply on user's profile page and not the default block search/display page.
  2. Similarly, on the user profile displayed, if the user is the one taking action, we need to use one type of background color for transactions that they have performed (outgoing transaction) v/s another type of background color, slightly lighter for incoming transaction (someone else voted on their post for example).