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

Queue of Entries #103

Closed
huri000 opened this issue Sep 2, 2018 · 3 comments
Closed

Queue of Entries #103

huri000 opened this issue Sep 2, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@huri000
Copy link
Owner

huri000 commented Sep 2, 2018

Is your feature request related to a problem? Please describe.
Right now SwiftEntryKit is not able to handle multiple entries. Every new entry drops the previous one.
The currently supported approach to this is to prioritize each entry using displayPriority property in EKAttributes.
SwiftEntryKit should allow other approaches as well - for example, a queue of entries, where each one is displayed in its turn.

Describe the solution you'd like

  1. Add a data structure for caching new entries. That construct should abstract a queueing mechanism.
  2. Add multiple heuristics to the queue: queue by priority, by chronological order.
  3. Refactor display priority to another construct that embodies the way in which new entries are treated.
@huri000
Copy link
Owner Author

huri000 commented Sep 9, 2018

@Blackjacx - Check it out if you wish. Let me know your thoughts about the feature and the style.
I also plan to allow simultaneous display of entries in the future (very soon I hope) - one on top of the other.

@Blackjacx
Copy link
Contributor

I'll set it on my todo list and check it out when I have time again 👍

@huri000
Copy link
Owner Author

huri000 commented Sep 28, 2018

Hi - I've merged the last pull request and can be used from now on using 0.7.0 or any higher version of SwiftEntryKit.
Cheers! 🎉

@huri000 huri000 closed this as completed Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants