Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Edit a test to check timestamp color's value on timeline and thread panel #10265

Merged
merged 5 commits into from
Mar 2, 2023
Merged

Edit a test to check timestamp color's value on timeline and thread panel #10265

merged 5 commits into from
Mar 2, 2023

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Mar 1, 2023

This PR intends to replace a variable with CSS native one and edit a test to check whether the message timestamp color's value is consistent on main timeline and thread panel (ThreadView and ThreadPanel). Percy tests should not work here because the timestamp string varies every time you run the test. See: element-hq/element-web#22699

type: task

Signed-off-by: Suguru Hirahara [email protected]

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

@github-actions github-actions bot added Z-Community-PR Issue is solved by a community member's PR T-Task Refactoring, enabling or disabling functionality, other engineering tasks labels Mar 1, 2023
@luixxiul luixxiul marked this pull request as ready for review March 1, 2023 10:59
@luixxiul luixxiul requested a review from a team as a code owner March 1, 2023 10:59
@luixxiul luixxiul requested review from dbkr and richvdh March 1, 2023 10:59
@@ -130,7 +130,7 @@ limitations under the License.
}

.mx_MessageTimestamp {
color: $event-timestamp-color;
color: var(--MessageTimestamp-color); /* TODO: check whether needed or not */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is not sure if this declaration would be really required. After having more extensive test sets which check visual regressions overall, it might be fine to remove it.

@richvdh
Copy link
Member

richvdh commented Mar 2, 2023

@luixxiul github appears to be having a blip. Can you try merging latest develop into your branch?

@richvdh richvdh enabled auto-merge (squash) March 2, 2023 17:03
@richvdh richvdh merged commit 0e52729 into matrix-org:develop Mar 2, 2023
@luixxiul luixxiul deleted the ThreadPanel-MessageTimestamp branch March 2, 2023 17:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants