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

Filterbar context #1693

Open
wants to merge 31 commits into
base: dev
Choose a base branch
from
Open

Filterbar context #1693

wants to merge 31 commits into from

Commits on Nov 6, 2019

  1. Overflow Button restored

    rkzel committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    184d239 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'filterbar-overflow' of github.com:AutarkLabs/open-enter…

    …prise into filterbar-overflow
    rkzel committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    404873a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. Cleanup of Filter components

    Moved outside of main FilterBar component, no more automatic closing
    of DropDowns when en option has been selected.
    rkzel committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    9d1a22a View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2019

  1. Merge branch 'filterbar-overflow' of github.com:AutarkLabs/open-enter…

    …prise into filterbar-overflow-cleanup
    rkzel committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    cf5ffbc View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev' of github.com:AutarkLabs/open-enterprise into filt…

    …erbar-overflow-cleanup
    rkzel committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    c20684d View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2019

  1. Configuration menu
    Copy the full SHA
    39faada View commit details
    Browse the repository at this point in the history
  2. Merge branch 'filterbar-overflow' of github.com:AutarkLabs/open-enter…

    …prise into filterbar-overflow-cleanup
    rkzel committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    5cf1e2a View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2019

  1. Moved FilterBar-related files from components to Shared/FilterBar

    Because that's where all FilterBar modules live.
    rkzel committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    05eeb70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    757f02f View commit details
    Browse the repository at this point in the history
  3. Standardized names displayed in ActiveFilters

    ActiveFilters is that little div below FilterBar dropdowns
    displaying all (and only) active filters: [tag X]. This change
    allows all current Options to use 'name' property instead
    of variety like 'name', 'title', etc. All future filters
    should follow this trait.
    rkzel committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    98a9160 View commit details
    Browse the repository at this point in the history
  4. applyFilters has many parameters, and now they are named

    Also, 'filters' are now called 'activeFilters' eveywhere, for clarity.
    rkzel committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    16c42bb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0932960 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2019

  1. Merge branch 'dev' of github.com:AutarkLabs/open-enterprise into filt…

    …erbar-overflow-cleanup
    rkzel committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    b051215 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2019

  1. Configuration menu
    Copy the full SHA
    2dd0a32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f86e95a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5597d8c View commit details
    Browse the repository at this point in the history
  4. Connected App to filtering context. Added secondary buttons in Header

    for "mini filterbar".
    
    Also, activeIndex is now a simple int.
    rkzel committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    84f4544 View commit details
    Browse the repository at this point in the history
  5. fixed location of the file

    rkzel committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    ca1c998 View commit details
    Browse the repository at this point in the history
  6. Connected to filtering context, so the card can set correct project t…

    …o filter by upon switching to Issues tab
    rkzel committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    eefb476 View commit details
    Browse the repository at this point in the history
  7. Connected to filtering context

    rkzel committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    d1980bf View commit details
    Browse the repository at this point in the history
  8. redesigned component

    rkzel committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    8cecb42 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9675e85 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2019

  1. fixed resetFilters

    Problem fixed: resetting filters with setActiveFilters(INIT_FILTERS)
    didn't work, setActiveFilters({...INIT_FILTERS}) didn't work either.
    Cause: that initial structure was copied shallowly. Therefore filters
    enabled with toggle() survived. Fix:
    
    setActiveFilters(initFilters())
    
    This function returns bran new structure.
    rkzel committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    00da2b4 View commit details
    Browse the repository at this point in the history
  2. Projects: revert to passing graphqlQuery to Issues

    We need to prevent un-rendering <Issues />, as this causes all of its
    state to be re-initialized once it's rendered again.
    
    This is exactly what was happening when we were returning early from the
    IssuesQuery component when it was in the `loading` state.
    Chad Ostrowski committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    d130d5c View commit details
    Browse the repository at this point in the history
  3. preserving Issues component by passing graphqlQuery in props

    Instead of asking IssuesQuery to display different components
    depending on what state the query is in - loading, error, etc.
    Issues got rendered only after data has been returned - which
    meant destroying it every now and then, and that was unhelpful
    for number of hooks rendered, remembering already downloaded
    issues, etc.
    Now Issues component is always rendered and it itself decides
    whether to display list of Issues (when data is finally present)
    or messages about state of the query (loading/error, etc).
    rkzel committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    595b189 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2019

  1. Merge branch 'dev' into filterbar-context

    * dev:
      Changed all 'Review' texts to 'View'
      Rewards/MyRewards: add date to claimed status
      CODEOWNERS: fix capitalization of team names
      Rewards/ViewReward: add status info
      Rewards/ViewReward: changes after rebase
      Rewards/ViewReward: add status information
      Rewards/ViewReward: dynamic panel title
      Show SubmitWork option to issue owner only
      Projects/FundIssues: only validate after blur
      Projects/FundForm: improve "can't be zero" errors
      Projects: Context menu sentence case
      Dot Voting: Fix Label color
      Projects: fix frontend stub
      Rewards/My Rewards: add icons to "status"
      Rewards/My Rewards: add icons to "status"
      Rewards: improve error message for non-transferable assets
    Chad Ostrowski committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    1118d9b View commit details
    Browse the repository at this point in the history
  2. Projects/MiniFilterBar: display at 514px width

    Neither the MiniFilterBar nor the full FilterBar were displaying on
    screens 514px wide exactly
    Chad Ostrowski committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    17d199e View commit details
    Browse the repository at this point in the history
  3. Projects/Issues: resetFilters when component unmounts

    Chad Ostrowski committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    7e001fc View commit details
    Browse the repository at this point in the history
  4. Projects/MiniFilterBar: only show on issues list

    Do not show on IssueDetail page
    Chad Ostrowski committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    58a51eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5d8d8ce View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Projects/TextFilter: rm all props

    The props that were passed into TextFilter were not used anywhere
    outside of the component, and can therefore live within it instead.
    Chad Ostrowski committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    5b05b35 View commit details
    Browse the repository at this point in the history