It would be nice to see my packet, both which I recieved (and either public or non public) and which I send (the same with publicity).
Metadata Update from @jonatoni: - Issue assigned to mmarusak
Metadata Update from @jflory7: - Assignee reset - Issue priority set to: needs review (was: awaiting triage) - Issue tagged with: new change, type - backend, type - frontend
Per the upcoming contributing guidelines, if this task is accepted, it should be sent to the upstream project, mxsasha/happinesspackets. Upstream can also make use of this. If upstream merges it, we can apply the patch downstream.
I believe it is better to open PR for both projects, upstream and downstream. Because sometimes a specific feature is helpful for our project but not for the upstream project, or until the upstream project reviews/approves the new feature we might accept and apply it faster etc. But +1 for the approach to open PR for the upstream and downstream project, and depending on the maintainers of each one they can merge the PR or not. @jflory7 does it make sense for you?
Metadata Update from @jflory7: - Issue priority set to: waiting on assignee (was: needs review) - Issue tagged with: PASSED, difficulty - medium, help wanted, needs info, type - upstream
@jonatoni Yes, perfect sense. :thumbsup: I approved this ticket for future work.
@jonatoni @jflory7 I'd like to work on this. I'll be sure to open a PR both here and in the upstream project.
@jonatoni @jflory7 On inspection of the upstream project, the prerequisite for this change, an authentication system is missing. Without authentication, the ability to see send and received packets by me [as in the logged in user] has no scope. Thus this change won't be feasible for the upstream project. Could you please give your take on this?
In fedora-happiness-packets, I've implemented the following:
My Sent Packets
Lists all the sent messages
Pagination
not listed in this page until the status of the message is sent
Name of the recipient is displayed no matter what
default text
<img alt="sent-placeholder.png" src="/fedora-commops/fedora-happiness-packets/issue/raw/files/0472b694de78f5a6f915bd9a16de02a97cea51d39807cfe8b3a78da2b51f4b41-sent-placeholder.png" />
<img alt="Sent.png" src="/fedora-commops/fedora-happiness-packets/issue/raw/files/a2714180bc763553fb5d7645c89da584226de9fbe7895e39f27595b0fbb5dbd6-Sent.png" />
My Received Packets
Lists all the messages received
name of the sender is displayed
<img alt="recieved-placeholder.png" src="/fedora-commops/fedora-happiness-packets/issue/raw/files/70ca1cba44cdd9f2561273ed95f6445474b15322df63f8de0a0e1396b89edf31-recieved-placeholder.png" />
<img alt="received.png" src="/fedora-commops/fedora-happiness-packets/issue/raw/files/904ee4ad095d1fa9f50b2d464afe951f388b0a8b6754282b9774117eae9ed1ce-received.png" />
Please let me know your thoughts on above. If all seems good, I'll be happy to send a PR Cheers! :)
Metadata Update from @jflory7: - Issue untagged with: help wanted, needs info - Issue assigned to shraddhaag
Without authentication, the ability to see send and received packets by me [as in the logged in user] has no scope. Thus this change won't be feasible for the upstream project. Could you please give your take on this?
Hi @shraddhaag, you're right. Now that I think this through, I don't think it makes sense to send this to upstream since there is no concept of an account there.
In fedora-happiness-packets, I've implemented the following: Please let me know your thoughts on above. If all seems good, I'll be happy to send a PR
Please let me know your thoughts on above. If all seems good, I'll be happy to send a PR
@shraddhaag Both pages are awesome! :tada: Excellent job with this. I think this is ready for a PR. I have some specific feedback below:
Link for the page in navigation called My Sent Packets Link for the page in navigation called My Received Packets
I thought perhaps this layout might be more intuitive / simpler. It's a nitpick I know, but what do you think?
<img alt="Handwritten proof-of-concept sketch for where sent packets / received packets links might go" src="/fedora-commops/fedora-happiness-packets/issue/raw/files/ca313f3e0f60d8d737550ab66c9852a0b31a825721181020ef4c1fe6e90d18cc-FHP_see_packets_POC.jpg" />
A default text in place if there are no sent packets. A default text in place if there are no received packets.
In the default text when giving the user a call-to-action to send a packet, could you add a hyperlink to the /send/ page?
/send/
Awesome work so far! :thumbsup:
It's unclear from how it's worded but the Packets sent : 6 is not the packets sent by the logged in user but in fact a total amount of Happiness Packets exchanged between any two users. #46 was the initial idea pitch.
Packets sent : 6
I was actually thinking of opening a ticket for the following: 1. Change the name of Packets Sent that makes it more clear to it's actual purpose. 2. There is no definite way of knowing if a user is logged in apart from the logout button. User's name could be displayed in the navigation.
Packets Sent
@jflory7, if the above two sound reasonable, let me know whether I should open a new ticket or resolve these in a PR. Also, please suggest on how should I modify the layout, keeping the above in mind?
That's a great idea! I'll surely integrate this :)
Awesome work so far! 👍
Thank you!
Oh, actually I didn't know this either. :see_no_evil:
Change the name of Packets Sent that makes it more clear to it's actual purpose.
Yes, this definitely makes sense. I think if we figure out what the better wording is, you can submit a pull request without opening a new ticket.
Or do you think it will be more obvious once an instance is running for a while and more and more packets are sent? Maybe this is not intuitive now because we haven't deployed this feature in a larger environment yet.
There is no definite way of knowing if a user is logged in apart from the logout button. User's name could be displayed in the navigation.
This seems like a separate topic. This is a good idea for a good first issue ticket. You can file a new ticket for this idea. :thumbsup:
good first issue
What do you think about Total Happiness spread meter: 6 ? It's a little catchy and removes any discrepancy.
Total Happiness spread meter: 6
While that may be the case, I think a slight shift in name would avoid users' confusing between the two. What do think how should we proceed with this one?
There is no definite way of knowing if a user is logged in apart from the logout button. User's name could be displayed in the navigation. This seems like a separate topic. This is a good idea for a good first issue ticket. You can file a new ticket for this idea. 👍
On it. I'll make a new issue for the same :)
I think Total happiness spread: makes sense! :thumbsup:
Total happiness spread:
I liked your suggestion for an alternate label. Actually, instead of sending a new PR, you could also file a new issue for it. I can label it as a good first issue and leave it open for someone else to work on. Since it's a small change, it might be a good starter task for a newcomer to the project.
@jflory7 Agreed! This will help more new comers hop on board! I'll open the new issue ASAP. Also, I sent the PR integrating the suggestion as mentioned above. Could you please review the same? Much thanks! :)
Hi @jflory7 I think this issue can be closed now :)
Metadata Update from @jflory7: - Issue set to the milestone: Summer Coding 2019: community bonding
@shraddhaag Nice catch, closing this ticket as complete per PR #144! :clapper:
Metadata Update from @jflory7: - Issue close_status updated to: complete - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.