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

Update Import from other channels page to display recommendations #4565

Open
Tracked by #4044
akolson opened this issue May 16, 2024 · 0 comments
Open
Tracked by #4044

Update Import from other channels page to display recommendations #4565

akolson opened this issue May 16, 2024 · 0 comments

Comments

@akolson
Copy link
Member

akolson commented May 16, 2024

Overview

This task involves updating the SearchOrBrowseWindow.vue to include a panel that displays recommended resources. It also involves updating the page responsiveness as described in the design specifications.

Description and outcomes

  • Design requirements
    Screenshot 2024-05-16 at 12 39 20

  • Markup requirements

    • This is current markup based on Vuetify. This should be updated to its KDS equivalent;
      <ImportFromChannelsModal>
          <template ...>
              <VSheet>
                  ...
                  
                  <!-- Search bar -->
                  <VLayout ...>
                      <VFlex ...>
                          <VForm ...>
                              <VTextField ...>
                                  ...
                              </VTextField>
                          </VForm>
                      </VFlex>
                  </VLayout>
      
                  <!-- Search or Topics Browsing -->
                  <ChannelList ...>
                  <ContentTreeList ...>
                  <SearchResultsList ...>
               </VSheet>
          </template>
      </ImportFromChannelsModal>
    • The KDS equivalent of the above could be;
      <ImportFromChannelsModal>
          <template ...>
              <KPageContainer>
                  ...
                  
                  <KGrid ...>
                      
                      <!-- Main panel >= 800px -->
                      <KGridItem ...>
                          <!-- Search bar -->
                          <KGrid ...>
                              <KGridItem ...>
                                  <KTextbox .../>
                                  <KButton .../>
                              </KGridItem>
                          </KGrid>
      
                          <!-- Search or Topics Browsing -->
                          <KGrid ...>
                              <KGridItem ...>
                                  <ChannelList ...>
                                  <ContentTreeList ...>
                                  <SearchResultsList ...>
                              </KGridItem>
                          </KGrid>
                      </KGridItem>
                      
                      <!-- Recommended resources panel >= 400px -->
                      <KGridItem ...>
                          <!-- Recommended resources -->
                      </KGridItem>
                      
                  </KGrid>
               </KPageContainer>
          </template>
      </ImportFromChannelsModal>
  • Styling requirements

    • The main panel should have a minimum width of 800px.
    • The recommended resources panel should have a minimum width of 400px.
      Screenshot 2024-05-16 at 12 50 44
    • The page should be responsive to different screen sizes.
    • See Figma designs for specifics on styling requirements.
  • Architectural requirements

Acceptance Criteria

  • The Import from other channels page is implemented as specified in the Figma designs.
  • The page is responsive as described in the Figma designs.
  • The page is keyboard navigable (a11y) as specified in the Figma designs.
  • Tests are written to verify correctness of page.

Assumptions and Dependencies

  • This is a purely UI task and does not involve implementing any API interactions. As such, static data should be used for visualization and testing purposes. Static data can be obtained from the public API.

Scope

The scope of this task is limited to;

  • Updating the Import from other channels page to display recommendations.
  • Updating responsiveness of the Import from other channels page.

It does not include;

  • Implementing the About recommendations link click action.
  • Implementing any API interactions (See Assumptions and Dependencies).

Accessibility Requirements

Please see the Figma designs for the keyboard navigation behavior

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant