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

Introduce SlackExplorer #33

Merged
merged 7 commits into from
Sep 8, 2023
Merged

Introduce SlackExplorer #33

merged 7 commits into from
Sep 8, 2023

Commits on Sep 4, 2023

  1. Nest TopicExtractor to SimpleWriter

    This class was design only for working with SimpleWriter, so nesting it makes
    this clear.
    MatheusRich committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    41fa185 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Rewrite Slack::Client

    This class used to know too much about the app-specific needs.
    It's now a thin wrapper around the Slack API client gem.
    
    A major change though, is that it automatically fetches the message
    author real name, so it issues an additional API call for each message.
    To remedy the performance hits, all the author names are requested in
    parallel, with a cache to avoid unnecessary requests.
    MatheusRich committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    de667a2 View commit details
    Browse the repository at this point in the history
  2. Introduce GoldMiner::SlackExplorer

    This class is responsible for "exploring" Slack and "mining" interesting
    messages. Those messages, later become a blog post.
    
    Now that we have a simple Slack client, we can put the business logic
    in the explorer. This also opens the door for more explorers in the future,
    like a Twitter explorer.
    MatheusRich committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    5a2e144 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Remove unused const

    MatheusRich committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    d094c04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ce66e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7071784 View commit details
    Browse the repository at this point in the history
  4. Improve spec

    MatheusRich committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    dee6bd9 View commit details
    Browse the repository at this point in the history