Spaceship-prompt: 3.0: Roadmap

Created on 23 Aug 2017  路  15Comments  路  Source: denysdovhan/spaceship-prompt

A checklist and discussion about v3.0 (#148) release and new features.

Roadmap

  • [x] Remove deprecation warnings of v2.0
  • [x] Drop OMZ as dependency

    • [x] Git status without OMZ (#147)

    • [x] Remove OMZ from descriptions.

    • [x] Installation over promptinit

    • [x] Rewrite install.zsh in sh

    • [x] Rewrite uninstall.zsh in sh

  • [x] Add $SPACESHIP_VERSION
  • [x] Fix zgen bug with sourcing install.zsh and uninstall.zsh
  • [x] Expose SPACESHIP_OPENED
  • [x] Expose options for char (#115)
  • [x] Organize project structure (#127)

    • [x] Split single file into the parts (sections folder)

    • [x] Create lib folder

    • [x] scripts folder for scripts

  • [x] Add deprecation warnings for broken options
  • [x] Show only root directory in repos (#169)
  • [x] Add right prompt RPS1 (#168)
  • [x] Added support to always show user host (#211)
  • [x] Fix bugs
  • [x] Intergrate #197
  • [x] Custom sections (#262)
  • [x] Drop $LS_COLORS (#273)
  • [x] Make showing battery on 100% configurable (#306)
  • [x] Update README.md and docs (#313)

  • (Optional) Add ability to render prompt with agnoster-like segments
  • (Optional) Add tests for basic functionality
  • (Optional) Speed up with async rendering
breaking has-pr

Most helpful comment

313 is ready to merge and waiting for approvement.

The work on #148 is finished and it's ready to merge after approvement.

All 15 comments

@sfarzy I would like to use Conventional Commits. Very useful for generating changelogs. What do you think?

@sfarzy however, I don't want to introduce new dependency like standard-version. Also, I don't like limitations with this approach.

Very useful for generating changelogs

Take a look at skywinder/github-changelog-generator, It's does the job well.

At ShellJS we created https://github.com/shelljs/changelog. This wraps around skywinder's project.

Slow git status checking

Currently we're using git status --porcelain -b in git section. But it was noted slow in multiple issues. Is there any better way in doing this ?

@salmanulfarzy zsh can provide vsc information out of the box, but it wouldn't be as reach as our implementation.

@denysdovhan

  • (Optional) Speed up with async rendering
    Are you implementing this now?
    I really want this feature, so I would like to implement this if you're not working on now.

@sei40kr I was playing in a playground with zsh-async. However, I don't have enough time to dive deeper and implement this right now. Would be great if you help!

Please, open another PR to the 3.0 branch. Async API has to be discussed.

@sei40kr any updates?

What's the status on this?

@belak currently I'm busy at work and don't have enough time to finish this release. Hope I'll have more time soon.

3.0 features are settled. It only needs to implement spaceship_upgrade/spaceship_uninstall, resolve some conflicts, fix some styling issues and update docs.

You can support my efforts by contributing or donations. Thanks for understanding!

Not a problem. Thanks for the update! I totally understand being really busy on other stuff.

Since I don't think we need upgrade/uninstall for prezto, I'll add this branch as a theme in our contrib repo and follow this for when there's an official release.

Breaking changes

  • SPACESHIP_PROMPT_SYMBOL has been removed. Use SPACESHIP_CHAR_SYMBOL instead.
  • SPACESHIP_BATTERY_ALWAYS_SHOW has been removed. Use SPACESHIP_BATTERY_SHOW='always' instead.
  • SPACESHIP_BATTERY_CHARGING_SYMBOL has been replaced by SPACESHIP_BATTERY_SYMBOL_CHARGING.
  • SPACESHIP_BATTERY_DISCHARGING_SYMBOL has been replaced by SPACESHIP_BATTERY_SYMBOL_DISCHARGING.
  • SPACESHIP_BATTERY_FULL_SYMBOL has been replaced by SPACESHIP_BATTERY_SYMBOL_FULL.
  • SPACESHIP_HOST_SHOW now accepts value 'always'.
  • SPACESHIP_USER_SHOW now accepts value 'always'.
  • SPACESHIP_HOST_COLOR equals 'blue' instead of 'green'.
  • SPACESHIP_HOST_COLOR_SSH is a new option.
  • SPACESHIP_PROMPT_ORDER has been changed.
  • SPACESHIP_BATTERY_ALWAYS_SHOW has been removed. Use SPACESHIP_BATTERY_SHOW='always' instead.
  • SPACESHIP_PROMPT_FIRST_PREFIX_SHOW is a new option.
  • SPACESHIP_DIR_TRUNC_REPO is a new option.

313 is ready to merge and waiting for approvement.

The work on #148 is finished and it's ready to merge after approvement.

Published as v3.0.0!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nfischer picture nfischer  路  3Comments

maccius picture maccius  路  3Comments

salmanulfarzy picture salmanulfarzy  路  3Comments

AlecRust picture AlecRust  路  3Comments

gillesdemey picture gillesdemey  路  3Comments