Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

web: use seconds in max TTL input#3576

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ammario merged 5 commits intomainfrommax-ttl
Aug 22, 2022
Merged

web: use seconds in max TTL input#3576

ammario merged 5 commits intomainfrommax-ttl
Aug 22, 2022

Conversation

ammario
Copy link
Member

Milliseconds are more difficult to deal with due to
all of the zeros.

@ammarioammario requested a review froma team as acode ownerAugust 19, 2022 03:04
@ammarioammarioforce-pushed themax-ttl branch 5 times, most recently fromb7fcf03 to92cf9a1CompareAugust 19, 2022 03:10
@ammario
Copy link
MemberAuthor

@BrunoQuaresma, I'm pretty new to TS and our frontend codebase. If I did anything in a suboptimal way, please let me know.

Milliseconds are more difficult to deal with due toall of the zeros.Also, describe this feature as "auto-stop" to beconsistent with our Workspace page UI and CLI. "ttl"is our backend lingo which should eventually be updated.
@BrunoQuaresma
Copy link
Collaborator

I think we could do better, and set this as minutes, what do you think?

johnstcn reacted with thumbs up emoji

@BrunoQuaresma
Copy link
Collaborator

@ammario I made the conversion in the handlers, so we don't have to add extra logic to map BE errors to a diff field, and vice-versa.

@ammario
Copy link
MemberAuthor

@BrunoQuaresma — makes sense. Thanks for showing me how this is done. Plz approve and then it can merge.

Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

I'm all in favour of this! I think minutes is the lowest useful granularity of time with autostart though.

Copy link
Contributor

@jsjoeiojsjoeio left a comment

Choose a reason for hiding this comment

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

I like this as well! Approving on behalf of FE to help you move this forward

@ammario
Copy link
MemberAuthor

I'm all in favour of this! I think minutes is the lowest useful granularity of time with autostart though.

I agree. Ideally the frontend accepts the same input as the CLI so there's so no truncation.

I thought this PR was a step forward but not ideal.

@ammarioammario merged commit6fde537 intomainAug 22, 2022
@ammarioammario deleted the max-ttl branchAugust 22, 2022 20:35
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jsjoeiojsjoeiojsjoeio approved these changes

@johnstcnjohnstcnjohnstcn approved these changes

@BrunoQuaresmaBrunoQuaresmaAwaiting requested review from BrunoQuaresma

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@ammario@BrunoQuaresma@jsjoeio@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp