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

refactor loader #549

Merged
merged 1 commit into from
Jun 11, 2021
Merged

refactor loader #549

merged 1 commit into from
Jun 11, 2021

Conversation

maxence-charriere
Copy link
Owner

  • loader is in aside
  • loader appears above content

- loader is in aside
- loader appears above content
@maxence-charriere maxence-charriere merged commit d579cb2 into v9 Jun 11, 2021
@maxence-charriere maxence-charriere deleted the refactor-default-page branch June 11, 2021 09:37
maxence-charriere added a commit that referenced this pull request Sep 22, 2021
* Dispatcher.Dispatch change

* engine implements Dispatcher

* engine implements ClientDispatcher

* fix engine mounting

* fix engine update consumer

* component dispatch events

* use engine

* Remove app Update calls

* refactor updater interface

* deferable events

* update doc code

* update doc

* update major version

* bump go requirement to 1.15

* Fix nested component update scheduling

* engine unit tests

* Update home.md

* Fixe browser page init in app.go

* refactor stack

* use refactored stack in docs

* refactor flow

* Update shell.go

* Fix pre rendering

* enqueue parent to updates

* Revert "enqueue parent to updates"

This reverts commit d67b8cd.

* Update markdown.go

* Try component emit

* test emit pt 2

* fix emit

* refactor engine

* Move emit to engine

* Internal nav (#520)

* handler internal URLs

* look for prefix in internal urls

* uniformise external navigation

* optimize update ordering

* optimize updating

* emit on all evenhandler

* fix Window handle component updates

* App id and crypto (#523)

* add encrypt/decrypt to context

* emit nil not panic

* change Context type to interface

* Fix empty cached resource

* mediator implementation

* engine uses standard sort

* cache sub package

* refactor pre render lru cache

* add int and float to cache

* add expire cache

* fix setting value attr

* Update element.go

* fix set checked attr

* Update element.go

* fix bool attrs

* setAttr to directly set bool property

* Textarea.Text set its value

* Update element.go

* fix case sensitive attr bool

* Actions (#537)

* action implementation

* refactor how to post action

* fix contenteditable element attribute

* move, test and document tags

* Fix app action handlers

* Reactive programming (#540)

* observer and states store

* integrate states to dispatcher and context

* State store options (#541)

* states option implementation

This add the following options to states:
- persist to local storage
- encrypt
- expire

* add cleanup method

* fix typo

* Add states options (#543)

* adds ExpiresAt state option

* Fix expire options

* FIx get state

* Update state.go

* update uuid code

* add state broadcast option

* Fix anchor nav with empty href

* observable OnChange (#546)

* observable OnChange

* Update state.go

* ensure observable are checked on ui goroutine

* Update state.go

* fix broadcast on safari

* Refactor shell (#547)

* shell2 implementation

* replace shell by shell2

* fix tests

* shell finish touch

* Refactor flow (#548)

* Update shell.go

* Update shell.go

* shell refactor implementation

* Fix item width

* Update flow.go

* Update flow.go

* Update flow.go

* refactor loader (#549)

- loader is in aside
- loader appears above content

* add description in manifest

* fix anchor download

* ensure unmounted components are not kept in updates (#553)

* lower engine update rate

* Update component.go

* Update app.go

* Installer (#555)

* install prompt + installer interface

* on app install change

* Update component.go

* UI (#557)

* move shell, flow and stack to ui package

* block implementation

* base and scroll

* Update scroll.go

* Update flow.go

* Update stack.go

* update sizing

* Update shell.go

* Update shell.go

* resizing interval

* Update scroll.go

* update bases

* Update scroll.go

* Update scroll.go

* fix base mobile padding

* Update scroll.go

* Update block.go

* Update block.go

* Update block.go

* fix block

* Update flow.go

* Revert "Update flow.go"

This reverts commit 3bc410f.

* Update flow.go

* Revert "Update flow.go"

This reverts commit 30fa1cf.

* Update component.go

* fix default block

* update app-worker.js

* Analytics (#561)

* analytics

* Update google-analytics.go

* UI shell side ad (#563)

* shell ads panel

* Shell ads pane settable size

* block can remove padding

* flyer + shell fix

* Update shell.go

* adsense display

* Update adsense.go

* add crossorigin to html

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update component.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* update

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* ad reload when nav

* remove manual content update

* cleanup

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update flyer.go

* fix ad resize

* adsense load interval

* Update adsense.go

* Update adsense.go

* fix ad retry

* Update adsense.go

* add logs

* Update adsense.go

* Update adsense.go

* schedule adsense pushes

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* Update adsense.go

* refactor dispatch (#564)

* refactor dispatch

* fix typos

* refactor Adsense (#565)

* no OnNav when fragment navigation

* Update adsense.go

* Refactor action post (#568)

* refactor action creation

* action with value

* refactor how to set action tags

* Update docs (#575)

* refactor doc layout

* refactor home page

* refactor reference doc

* set title and page decriptions

* go 1.17

* ui loader

* add loader to reference and mardown

* doc github issue in page

* cleanup docs

* getting started page

* docs architecture page

* refactor ui class

* docs migration guide

* update docs

* docs migrate index

* docs built with goapp

* doc component field

* docs refactor index link

* docs - other lifecycle events

* docs - component update

* docs - routing

* doc routing adjustments

* docs - static resources

* docs - js

* docs - concurrency

* docs - seo

* docs - lifecycle

* docs - github pages deploy

* docs - testing

* docs - privacy policy

* docs - actions

* docs - states

* Update declarative-syntax.md

#586

* docs - install

* generate github pages

* Syntax class styles (#587)

* Variadic class

* syntax styles

* modify class doc

* generate github pages

* Update lifecycle.md

* update github pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant