[PATH DRAFT] General Event Counter #1

Open
opened 2023-10-26 02:57:39 +03:00 by asandikci · 0 comments
asandikci commented 2023-10-26 02:57:39 +03:00 (Migrated from git.aliberksandikci.com.tr)

General Event Counter

Set an event date and get counter for it. Difference between Event counter and timer is simple: timer could be used for short cases, event counter could be used for long cases. Examples: LGS/YKS counter, new year counter, final exam counter...

Dependent on

  • JustTouchWindowManager - jtwm

PATH DRAFT

This Path Draft is possibly temporary, using because sometimes noting down ideas linearly is more productive. See more in Forgejo Project Tab or other Project Management Application that in use. Or you can edit this text every time for smaller Path Drafts.

General

  • Create events, get date and time from URLParams

In DevMode - Event Counter Settings

This steps also represents an example jtwm implementation, could be useful

  • Creating New Event, General Structure

    • Create a new event button (Creates with defaults values to variables listed below)
    • When clicked ⇢ Creates an event, adds an event to event list {Event List(0)} -> {Event List(1)}
    • Clicking event list opens list
    • clicking an event opens event settings in a new tab
  • Event Settings Menu

    • Change Event Name obj.jtwm.name
    • Set date and time with a simple date/time picker obj.jtwm.targetTime
    • Location
      • Change X and Y coordinates for upper-left corner (set with typing or buttons for ±5px) obj.jtwm.loc.x, obj.jtwm.loc.y
      • Change Width and Height (set with typing or buttons for ±5px) obj.jtwm.width, obj.jtwm.height
    • Color
      • Change Background Color (Color Picker or paste last item if available) obj.jtwm.background.color
      • Change Event Name Color (Color Picker or paste last item if available) obj.jtwm.eventName.color
      • Change Event Counter Color (Color Picker or paste last item if available) obj.jtwm.counter.color
    • Transparency
      • Change Background Transparency (decimal selection) obj.jtwm.background.transparency
      • Change Event Name Transparency (decimal selection) obj.jtwm.eventName.transparency
      • Change Counter Transparency (decimal selection) obj.jtwm.counter.transparency
    • Font-Weight
      • Change Event Name Font-Weight (100-600) obj.jtwm.eventName.font-weight
      • Change Counter Font-Weight (100-600) obj.jtwm.counter.font-weight
    • Font-Family
      • Change Event Name Font-Family (selection menu) obj.jtwm.eventName.font-family
      • Change Counter Font-Family (selection menu) obj.jtwm.counter.font-family
    • Font-Size
      • Change Event Name Font-Size (auto, small, big, special px) obj.jtwm.eventName.font-size
      • Change Counter Font-Size (auto, small, big, special px) obj.jtwm.counter.font-size
    • Interactive Editor
      • Arrows around jtwm: left, right, up, down. Moves 5px, changes obj.jtwm.loc variable and updates settings editor.
      • arrow in upper-left corner for scale down, bottom-right corner for scale up.
        • Scaling up changes obj.jtwm.width and obj.jtwm.height variables and updates settings editor
        • Scaling up changes obj.jtwm.width, obj.jtwm.height and obj,jtwm.loc variables and updates settings editor
    • Quick Move Menu (w = width, h = height ; Sw = ScreenWidth, Sh = ScreeHeight)
      • upper-left (x=0, y=0)
      • upper-mid (x=Sw/2-w/2, y=0)
      • upper-right (x=Sw-w, y=0)
      • mid-left (x=0, y=Sh/2-h/2)
      • mid-mid (x=Sw/2-w/2, y=Sh/2-h/2)
      • mid-right (x=Sw-w, y=Sh/2-h/2)
      • bottom-left (x=0, y=Sh-h)
      • bottom-mid (x=Sw/2-w/2, y=Sh-h)
      • bottom-right (x=Sw-w, y=Sh-h)
    • Counter Types Editor
      • Completely Hours obj.jtwm.counter.type
      • Completely Days obj.jtwm.counter.type
      • Completely Weeks obj.jtwm.counter.type
      • Completely Months obj.jtwm.counter.type
      • auto (Month, Day, Hour / +Week) obj.jtwm.counter.type
      • Allow Quick Edit in Normal Mode Option
        • When checked 🔄 icon appears in bottom-right corner and pressing this converts between counter types, changes obj.jtwm.counter.type
    • Live Preview Button (previews Event Counter jtwm and all settings selected above even when they are not saved yet)
    • Full Preview Button (previews all settings and jtwms)
    • Also ability to see pixel lengths (to borders) in both preview mode
    • Save Button (Stores Locally)
    • Get URLParams (Auto Copy to Clipboard)
    • Get Config json file (Download File)
# General Event Counter Set an event date and get counter for it. Difference between Event counter and timer is simple: timer could be used for short cases, event counter could be used for long cases. Examples: LGS/YKS counter, new year counter, final exam counter... ### Dependent on - [ ] JustTouchWindowManager - jtwm ## PATH DRAFT > This Path Draft is _possibly_ temporary, using because sometimes noting down ideas linearly is more productive. See more in Forgejo Project Tab or other Project Management Application that in use. Or you can edit this text every time for smaller Path Drafts. ### General - [ ] Create events, get date and time from URLParams ### In DevMode - Event Counter Settings > This steps also represents an example jtwm implementation, could be useful - Creating New Event, General Structure - [ ] _Create a new event_ button (Creates with defaults values to variables listed below) - [ ] When clicked ⇢ Creates an event, adds an event to event list {Event List(0)} -> {Event List(1)} - [ ] Clicking event list opens list - [ ] clicking an event opens event settings in a new tab - Event Settings Menu - [ ] Change Event Name `obj.jtwm.name` - [ ] Set date and time with a simple date/time picker `obj.jtwm.targetTime` - Location - [ ] Change X and Y coordinates for _upper-left corner_ (set with typing or buttons for ±5px) `obj.jtwm.loc.x, obj.jtwm.loc.y` - [ ] Change Width and Height (set with typing or buttons for ±5px) `obj.jtwm.width, obj.jtwm.height` - Color - [ ] Change Background Color (Color Picker or paste last item if available) `obj.jtwm.background.color` - [ ] Change Event Name Color (Color Picker or paste last item if available) `obj.jtwm.eventName.color` - [ ] Change Event Counter Color (Color Picker or paste last item if available) `obj.jtwm.counter.color` - Transparency - [ ] Change Background Transparency (decimal selection) `obj.jtwm.background.transparency` - [ ] Change Event Name Transparency (decimal selection) `obj.jtwm.eventName.transparency` - [ ] Change Counter Transparency (decimal selection) `obj.jtwm.counter.transparency` - Font-Weight - [ ] Change Event Name Font-Weight (100-600) `obj.jtwm.eventName.font-weight` - [ ] Change Counter Font-Weight (100-600) `obj.jtwm.counter.font-weight` - Font-Family - [ ] Change Event Name Font-Family (selection menu) `obj.jtwm.eventName.font-family` - [ ] Change Counter Font-Family (selection menu) `obj.jtwm.counter.font-family` - Font-Size - [ ] Change Event Name Font-Size (auto, small, big, _special px_) `obj.jtwm.eventName.font-size` - [ ] Change Counter Font-Size (auto, small, big, _special px_) `obj.jtwm.counter.font-size` - [ ] Interactive Editor - [ ] Arrows around `jtwm`: left, right, up, down. Moves _5px_, changes `obj.jtwm.loc` variable and updates settings editor. - [ ] *⇲* arrow in upper-left corner for scale down, bottom-right corner for scale up. - Scaling up changes `obj.jtwm.width` and `obj.jtwm.height` variables and updates settings editor - Scaling up changes `obj.jtwm.width`, `obj.jtwm.height` *and* `obj,jtwm.loc` variables and updates settings editor - Quick Move Menu (w = width, h = height ; Sw = ScreenWidth, Sh = ScreeHeight) - [ ] upper-left `(x=0, y=0)` - [ ] upper-mid `(x=Sw/2-w/2, y=0)` - [ ] upper-right `(x=Sw-w, y=0)` - [ ] mid-left `(x=0, y=Sh/2-h/2)` - [ ] mid-mid `(x=Sw/2-w/2, y=Sh/2-h/2)` - [ ] mid-right `(x=Sw-w, y=Sh/2-h/2)` - [ ] bottom-left `(x=0, y=Sh-h)` - [ ] bottom-mid `(x=Sw/2-w/2, y=Sh-h)` - [ ] bottom-right `(x=Sw-w, y=Sh-h)` - Counter Types Editor - [ ] Completely _Hours_ `obj.jtwm.counter.type` - [ ] Completely _Days_ `obj.jtwm.counter.type` - [ ] Completely _Weeks_ `obj.jtwm.counter.type` - [ ] Completely _Months_ `obj.jtwm.counter.type` - [ ] _auto_ (Month, Day, Hour / +Week) `obj.jtwm.counter.type` - [ ] Allow Quick Edit in Normal Mode Option - [ ] When checked 🔄 icon appears in bottom-right corner and pressing this converts between counter types, changes `obj.jtwm.counter.type` - [ ] Live Preview Button (previews Event Counter `jtwm` and all settings selected above even when they are not saved yet) - [ ] Full Preview Button (previews all settings and `jtwm`s) - [ ] Also ability to see pixel lengths (to borders) in both preview mode - [ ] Save Button (Stores Locally) - [ ] Get URLParams (Auto Copy to Clipboard) - [ ] Get Config json file (Download File)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Maket/MaketTahta#1
No description provided.