Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-6839: [Smart mode] As the User I want to view Authors tab with only selected data #965

Merged
merged 15 commits into from
Nov 20, 2023

Conversation

kisztof
Copy link
Contributor

@kisztof kisztof commented Oct 30, 2023

Question Answer
Tickets https://issues.ibexa.co/browse/IBX-6839
Bug fix? no
New feature? yes
BC breaks? no
Tests pass? yes
Doc needed? yes
License GPL-2.0

This PR adds new Authors tab.

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@kisztof kisztof force-pushed the IBX-6839-authors-tab branch from b93bd69 to c3f6a01 Compare October 30, 2023 12:38
@kisztof kisztof requested a review from a team October 30, 2023 12:48
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
@kisztof kisztof requested a review from a team October 30, 2023 13:21
src/bundle/Resources/translations/messages.en.xliff Outdated Show resolved Hide resolved
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
@mikadamczyk mikadamczyk requested a review from a team October 30, 2023 13:34
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
8.5% 8.5% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@kisztof kisztof requested a review from mikadamczyk October 30, 2023 13:53
@kisztof kisztof force-pushed the IBX-6839-authors-tab branch from 90b8f31 to 09859e4 Compare October 31, 2023 08:19
@kisztof kisztof changed the title Added Authors tab IBX-6839: [Smart mode] As the User I want to view Authors tab with only selected data Oct 31, 2023
@juskora juskora added the Doc needed The changes require some documentation label Nov 2, 2023
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
src/lib/Tab/LocationView/AuthorsTab.php Outdated Show resolved Hide resolved
use Symfony\Contracts\Translation\TranslatorInterface;
use Twig\Environment;

class AuthorsTab extends AbstractEventDispatchingTab implements OrderedTabInterface
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class AuthorsTab extends AbstractEventDispatchingTab implements OrderedTabInterface
final class AuthorsTab extends AbstractEventDispatchingTab implements OrderedTabInterface

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tabs cannot be marked as final.

@kisztof kisztof force-pushed the IBX-6839-authors-tab branch 2 times, most recently from b90c00c to 913960c Compare November 6, 2023 12:30
Copy link
Contributor

@mnocon mnocon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implemented design differs from what we have in Figma (confirmed with Ida):

  1. The tab should be the last one
  2. The "Published"/"Modified" dates are missing
  3. The view differs (single row vs two rows)

Otherwise looks good, correct author data is displayed ✅

Figma:
obraz

PR:
obraz

@kisztof kisztof force-pushed the IBX-6839-authors-tab branch from 7f429df to 6832b6c Compare November 20, 2023 14:49
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.6% 0.6% Duplication

@webhdx
Copy link
Contributor

webhdx commented Nov 20, 2023

Minor design fixes will be provided at later date.

@webhdx webhdx merged commit a703435 into main Nov 20, 2023
23 checks passed
@webhdx webhdx deleted the IBX-6839-authors-tab branch November 20, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Doc needed The changes require some documentation Ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.