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

Consistent and more descriptive naming of parameters in index.ts #1455

Merged
merged 13 commits into from
Jan 15, 2023

Conversation

smainz
Copy link
Contributor

@smainz smainz commented Nov 27, 2022

Parameter naming has been made more descriptive and consistent:

  • Change number: number to pipelineNumber: number.
  • Rename pipeline to pipelineNumber when it refered to a pipeline number.

(Child of #1415)

There are still inconsistencies in the code, some methods declare the pipelineNumber as number, others as string.
Which direction to go?

@6543 6543 added refactor delete or replace old code ui frontend related labels Dec 23, 2022
@6543
Copy link
Member

6543 commented Dec 23, 2022

please resolve conflicts @smainz :)

web/src/assets/locales/de.json Outdated Show resolved Hide resolved
@smainz
Copy link
Contributor Author

smainz commented Jan 15, 2023

Sorry for being away for so long, but I was busy doing other things.

@smainz smainz marked this pull request as ready for review January 15, 2023 15:26
@6543 6543 added this to the 1.0.0 milestone Jan 15, 2023
@6543 6543 merged commit b0fd99e into woodpecker-ci:master Jan 15, 2023
@smainz smainz deleted the fix-naming branch January 15, 2023 17:59
simmstein pushed a commit to simmstein/woodpecker that referenced this pull request Jan 18, 2023
…dpecker-ci#1455)

Parameter naming has been made more descriptive and consistent:
- Change `number: number` to `pipelineNumber: number`.
- Rename `pipeline` to `pipelineNumber` when it refered to a pipeline number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor delete or replace old code ui frontend related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants