Qabel / qabel-desktop

(B2C) :computer: Desktop frontend of Qabel
Other
11 stars 12 forks source link

deleteIdentities & event system #462

Closed julianseeger closed 7 years ago

julianseeger commented 7 years ago

prototyping some missing elements...

        eventDispatcher.events()
            .filter(e -> e instanceof IdentitiesChangedEvent)
            .debounce(debounceTimeout, TimeUnit.MILLISECONDS)
            .subscribe(e -> Platform.runLater(this::loadIdentities));

feels kind of correct. With some extensions for

        eventDispatcher.events()
            .filterEvent(IdentitiesChangedEvent::class)
            .debounce()
            .observeOnPlatform()
            .subscribe(this::loadIdentities);

it would be perfect ^^

julianseeger commented 7 years ago

Suggestions / critics welcome ;)

julianseeger commented 7 years ago

image image

julianseeger commented 7 years ago

prefer https://github.com/Qabel/qabel-desktop/pull/479 which includes this

julianseeger commented 7 years ago

merged with https://github.com/Qabel/qabel-desktop/issues/479