github / github/gh-skyline

[Feature]: Customizable Front Content

Open
#37 4 comments 2 reactions 0 assignees View on GitHub
enhancement triage
Dominant language
Go
Stars
1.3k
Forks
101
PR merge metrics
No merged PRs in 30d

Description

### Description

It would be fun to be able to customize the skyline with a company logo, etc. to personalize it for gift giving!

There may be cases where the user would want to exclude the year information from the front of the model (for example, when including an image and a date range of the user's entire history, maybe they'd just want to show the company logo in place of the date range)

### Requirements

- add a flag to include a image file that can be included in the rendering of the information on the front of the skyline
- change the y flag/add new flag to also be able to exclude all year information from the face of the model

### Definition of Done

- [ ] When a valid image file reference is passed with the image flag
- [ ] it is rendered on the front of the skyline
- [ ] it has the same depth as the invertocat
- [ ] it is aligned to the right of the front of the skyline
- [ ] if white space is present on the right of the image file, it is respected so that white space in the image file can be used to offset the image from the right side of the face of the skyline
- [ ] if white space is present on the right of the image file AND the year is included on the face of the skyline, the white space is respected so that it can be used to center the image between the username and year
- [ ] optionally, a flag to control the positioning of the image (center between username and year or right edge, right align with margin. etc.)
- [ ] When the y flag is used for exclusion, the year information is omitted on the model face

### Additional Notes

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.