Giter VIP home page Giter VIP logo

captain's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @jovanblazek
  • ๐Ÿ‘€ Iโ€™m full-stack engineer at Sudolabs
  • ๐ŸŒฑ Iโ€™m working with React and NodeJS
  • Visit my kinda outdated portfolio here.

captain's People

Contributors

jovanblazek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

captain's Issues

Display error messages to user

Is your feature request related to a problem? Please describe.

If user chooses very tight parameters, the scheduled job might not pick anyone. In this case, the user(s) should be notified why the job failed.

When should error be displayed:

  • failed setup & why
  • failed job run & why

Describe the solution you'd like

Add more error types, main difference between them is that one should be reported to user while other(s) should not.

Describe alternatives you've considered

Additional context

Add option to exclude previous n.1 pick from following draw

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

  • Add checkbox option to setup
  • Save user id in DB after scheduled draw
  • Filter out the user on next scheduled draw

Describe alternatives you've considered

Additional context

Research types of randomizers and come up with a list of options

โ“ Why is this needed? Is your feature request related to a problem?

Sometimes the results are repeating too much.

๐Ÿ“ Describe the solution you'd like

Research possible options which would be added to the setup modal.
E.g:

  • random - the way it is now
  • pseudo-random distribution - or something along these lines - when you are picked, your chance to be picked again is lower
  • exclude last pick(s) from next scheduled draw
  • others? - research other possibilities

The result of this task should be a document with tech specification for each picking method.
Task to implement these methods will be made afterwards.

๐Ÿ“ท Additional context

Some inspiration from the slack thread:
https://www.typescriptlang.org/play?module=1#code/MYewdgzgLgBA5gUygJQIZgCYgLYEEBO+qAngKIA2C2CYUEMAvDABSqEkBcM0+AlmHADaAXQA0MUAFdaXMJOwAjBPnHleAawRqAFiBAYIXAN4xBm4lx784w2fKX4YAX0YwjTgJSMAfG4CwAFAwMLwAZixStDAAPEwADDAAPokwbETEAHSUAlDajAzxXkaBwcH4SJL4YKbCJc51oJCwENqSoaGUGK5pJBkQIPhQzMy8UFReDL7FQaWN0DBqmjp6XUyLWry6+hCCo1TCMAD8hzAArHF1ZRVVMACMMAC0LMwAsqi5GUSYOMxeAFR3OJxLwAegWGg2WwwHjqnjqILBcxAlCyIDgzBabQ6CGhdXKUEq1Ux7U6fTUwAQzDi4kiUBhAScgUCc1g-FGrkEAHJUJzRJyFLzOcBBRhBQhBaFBXBBdpObUAoFQgMWJRYOtlttxLxXHEANwhGKA-W8ADUJqKDXA83KEEk5FgTEQKHQWDw7DIlGotAgIzAo3EACZVBCNQZ6cEkSjyGjmAADAAkRm1JruLnw0i4sfENrtdKZM3VmxW9CY01Kphz9sEcWEtjup1ElwrCFtVduta4AdOsMCjICQA

https://stackoverflow.com/questions/43566019/how-to-choose-a-weighted-random-array-element-in-javascript
https://dev.to/trekhleb/weighted-random-algorithm-in-javascript-1pdc

Refactor app structure to make it more modular

โ“ Why is this needed? Is your feature request related to a problem?

Adding new features is complicated and violates DRY principle.

๐Ÿ“ Describe the solution you'd like

TBA

๐Ÿ“ท Additional context

Pick random string from input

โ“ Why is this needed? Is your feature request related to a problem?

Sometimes we don't want to pick people but order of things.

๐Ÿ“ Describe the solution you'd like

Separate user and string picking into two commands, DB tables and so on. Create new modal for string picking.
Modal should have a textarea where each option is separated by new line.

๐Ÿ“ท Additional context

Add ignored members field to setup modal

Is your feature request related to a problem? Please describe.

If there are people in the channel that do not participate in meeting/standup, they might get picked. To mitigate this, current solution is to create separate channel with bot in it.

Describe the solution you'd like

  • Add member select field to setup modal.
  • Save member ids to DB and filter them out when picking.

Describe alternatives you've considered

Additional context

Research: Publish app to slack app directory

โ“ Why is this needed? Is your feature request related to a problem?

The app is nearing it's completion.

๐Ÿ“ Describe the solution you'd like

Result of this task should be a documentation with steps on how to publish the app on slack app directory.
It should contain necessary code changes and other requirements.
When this is done, new tasks will be created to implement the researched functionality.

๐Ÿ“ท Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.