Skip to content

Commit

Permalink
feat: window playground v3 (#200)
Browse files Browse the repository at this point in the history
* refactor!: move v1 and v2 window playground to a temporary v1v2 package

* feat: add window playground v3

* docs: update documentation for playground

* chore: add deprecation notification on v1 and v2

* docs: fix documentation for better clarity

* docs: update description for truncation for better clarity

* refactor: update typo on method name

* fix: change how cursor is moved between size and delay units

* refactor: re-align how table is shown

* fix: update hint to avoid possible misleading message
  • Loading branch information
irainia committed Mar 20, 2024
1 parent 9e8ba91 commit 69d2b91
Show file tree
Hide file tree
Showing 8 changed files with 941 additions and 248 deletions.
18 changes: 6 additions & 12 deletions client/cmd/playground/window/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@ const (
pointToHour cursorPointer = "hour"
pointToMinute cursorPointer = "minute"

pointToTruncateTo cursorPointer = "truncate_to"
pointToOffset cursorPointer = "offset"
pointToSize cursorPointer = "size"
)

type truncateTo string

const (
truncateToMonth truncateTo = "M"
truncateToWeek truncateTo = "w"
truncateToDay truncateTo = "d"
truncateToHour truncateTo = "h"
pointToSizeInput cursorPointer = "size_input"
pointToSizeUnit cursorPointer = "size_unit"
pointToDelayInput cursorPointer = "delay_input"
pointToDelayUnit cursorPointer = "delay_unit"
pointToTruncateToUnit cursorPointer = "truncate_to_unit"
pointToLocationInput cursorPointer = "location_input"
)
Loading

0 comments on commit 69d2b91

Please sign in to comment.