nextcloud / nextcloud/activity

Headings time text

Open
#209 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

design enhancement feature: stream papercut
Dominant language
JavaScript
Stars
145
Forks
72
Avg merge
6d 9h
Merged PRs (30d)
42

Description

Currently we say:

  • Today
  • Yesterday
  • October 7, 2017
  • October 6, 2017

Since the year is not really relevant for things which happened very recently, and the day of the week is much more important, we should do it like this:

  • Today
  • Yesterday
  • Saturday, October 7
  • Friday, October 6

What do you think @nickvergessen? We could also include the year as soon as the event history goes to last year.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file or test. Start by locating the activity-history heading or date-formatting entry point, then compare its output with the listed examples. Done means recent dates include the weekday and omit the year, while Today and Yesterday remain unchanged and older dates include the year.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.