What is it supposed to do
Owned posts on profile are now sorted by update date. In the future we need to show more than the maximum of 8 posts. For now this will be parked until the profile revamp.
How can we test your branch
Go to profile and check if created posts are ordered by update date. Update some posts, create some, check if the order is correct.
Additional notes
This is not a part of an issue or sprint, just a PR I made because the order irritated me. Because of limitations you would not see any of your created posts after your 8th one.
1. General checklist
[x] a. Tested happy flow.
[x] b. Tested unhappy flow.
[x] c. No unexpected exceptions.
[x] d. No code with high complexity. (Big O)
[x] e. EOF newline.
[x] f. No linter warnings or errors.
2. If relevant, front-end checklist
[ ] a. Responsive. (Desktop all the way to mobile 320px)
[ ] b. Using SCSS variables where relevant.
[ ] c. Relevant class names
[ ] d. No modified global SCSS properties, except if necessary and fully tested the impact.
[ ] e. Checked caniuse for more modern CSS properties.
[x] e. Used guards (middleware) where necessary and tested if route is guarded.
4. If relevant, test these browsers
[ ] a. Chrome
[ ] b. Firefox
[ ] c. Opera
[ ] d. Edge
[ ] e. Safari
PR Rules 1. Add relevant labels. 2. Select atleast two reviewers. 3. Assign all reviewers allowed to merge the branch, including yourself. 4. If relevant to the sprint, put related issue in 'Awaiting Approval' column on project board. 5. Add to the corresponding milestone.
Reviewer info 1. You can use aliases to refer to specific PR checklist items. For example 'Hey @JohnDoe, for this line please check 3.a and 1.d.' 2. Where possible, please use the suggestions feature in github so the author has a better idea of the solution you had in mind.
This form should be filled in by the author of this PR.
What is it supposed to do
Owned posts on profile are now sorted by update date. In the future we need to show more than the maximum of 8 posts. For now this will be parked until the profile revamp.
How can we test your branch
Go to profile and check if created posts are ordered by update date. Update some posts, create some, check if the order is correct.
Additional notes
This is not a part of an issue or sprint, just a PR I made because the order irritated me. Because of limitations you would not see any of your created posts after your 8th one.
1. General checklist
2. If relevant, front-end checklist
3. If relevant, back-end checklist
4. If relevant, test these browsers
PR Rules
1. Add relevant labels.
2. Select atleast two reviewers.
3. Assign all reviewers allowed to merge the branch, including yourself.
4. If relevant to the sprint, put related issue in 'Awaiting Approval' column on project board.
5. Add to the corresponding milestone.
Reviewer info
1. You can use aliases to refer to specific PR checklist items. For example 'Hey @JohnDoe, for this line please check 3.a and 1.d.'
2. Where possible, please use the suggestions feature in github so the author has a better idea of the solution you had in mind.