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

Organization dashboard #2254

Closed
brunolnetto opened this issue Nov 3, 2022 · 7 comments
Closed

Organization dashboard #2254

brunolnetto opened this issue Nov 3, 2022 · 7 comments
Labels
enhancement New feature or request.

Comments

@brunolnetto
Copy link

brunolnetto commented Nov 3, 2022

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

Organization summary

Describe the solution you'd like

A repository dashboard description is a great way to visualize its data. Is there some available feature version for a GitHub organization?

Describe alternatives you've considered

There is not any solution alternative.

Additional context

No response

@brunolnetto brunolnetto added the enhancement New feature or request. label Nov 3, 2022
@rickstaa
Copy link
Collaborator

rickstaa commented Nov 3, 2022

Hey @brunolnetto. Thanks for your feature request. If you want stats from organisations' repositories to which you are a contributor, see #1. If you want to show stats for a given organisation, this feature request is tracked in #654.

@rickstaa rickstaa closed this as completed Nov 3, 2022
@brunolnetto
Copy link
Author

If I present you this library of mine, do you merge the pull request anytime in the near future? :-)

@rickstaa
Copy link
Collaborator

rickstaa commented Nov 4, 2022

@brunolnetto, no need to send me robot repositories 🤖:yum:. The feature is on our roadmap. I will finish and merge it somewhere at the start of next year. In the meantime, you can already use it (see #1 (comment)).

@brunolnetto
Copy link
Author

brunolnetto commented Nov 5, 2022

@rickstaa After conflict solving, the command run npm run test:e2e gives the following test clash. May you solve it in the near future? Waka waka, ee!

 FAIL  tests/e2e/e2e.test.js
  Fetch Cards
    ✕ retrieve stats card (2 ms)
    ✕ retrieve language card (2 ms)
    ✕ retrieve WakaTime card
    ✕ retrieve repo card

  ● Fetch Cards › retrieve stats card

    expect(received).toBeDefined()

    Received: undefined

       97 |
       98 |   test("retrieve stats card", async () => {
    >  99 |     expect(VERCEL_PREVIEW_URL).toBeDefined();
          |                                ^
      100 |
      101 |     // Check if the Vercel preview instance stats card function is up and running.
      102 |     await expect(

      at Object.<anonymous> (tests/e2e/e2e.test.js:99:32)

  ● Fetch Cards › retrieve language card

    expect(received).toBeDefined()

    Received: undefined

      117 |
      118 |   test("retrieve language card", async () => {
    > 119 |     expect(VERCEL_PREVIEW_URL).toBeDefined();
          |                                ^
      120 |
      121 |     // Check if the Vercel preview instance language card function is up and running.
      122 |     console.log(

      at Object.<anonymous> (tests/e2e/e2e.test.js:119:32)

  ● Fetch Cards › retrieve WakaTime card

    expect(received).toBeDefined()

    Received: undefined

      142 |
      143 |   test("retrieve WakaTime card", async () => {
    > 144 |     expect(VERCEL_PREVIEW_URL).toBeDefined();
          |                                ^
      145 |
      146 |     // Check if the Vercel preview instance WakaTime function is up and running.
      147 |     await expect(
a
      at Object.<anonymous> (tests/e2e/e2e.test.js:144:32)

  ● Fetch Cards › retrieve repo card

    expect(received).toBeDefined()

    Received: undefined

      162 |
      163 |   test("retrieve repo card", async () => {
    > 164 |     expect(VERCEL_PREVIEW_URL).toBeDefined();
          |                                ^
      165 |
      166 |     // Check if the Vercel preview instance Repo function is up and running.
      167 |     await expect(

      at Object.<anonymous> (tests/e2e/e2e.test.js:164:32)

Test Suites: 1 failed, 1 total
Tests:       4 failed, 4 total
Snapshots:   0 total
Time:        0.265 s
Ran all test suites.

@brunolnetto
Copy link
Author

I followed the instructions available on the post, as you can see by commits and action approval on post.

image

@rickstaa
Copy link
Collaborator

@rickstaa After conflict solving, the command run npm run test:e2e gives the following test clash. May you solve it shortly? Waka waka, ee!

 FAIL  tests/e2e/e2e.test.js
  Fetch Cards
    ✕ retrieve stats card (2 ms)
    ✕ retrieve language card (2 ms)
    ✕ retrieve WakaTime card
    ✕ retrieve repo card

  ● Fetch Cards › retrieve stats card

    expect(received).toBeDefined()

    Received: undefined

       97 |
       98 |   test("retrieve stats card", async () => {
    >  99 |     expect(VERCEL_PREVIEW_URL).toBeDefined();
          |                                ^
      100 |
      101 |     // Check if the Vercel preview instance stats card function is up and running.
      102 |     await expect(

      at Object.<anonymous> (tests/e2e/e2e.test.js:99:32)

  ● Fetch Cards › retrieve language card

    expect(received).toBeDefined()

    Received: undefined

      117 |
      118 |   test("retrieve language card", async () => {
    > 119 |     expect(VERCEL_PREVIEW_URL).toBeDefined();
          |                                ^
      120 |
      121 |     // Check if the Vercel preview instance language card function is up and running.
      122 |     console.log(

      at Object.<anonymous> (tests/e2e/e2e.test.js:119:32)

  ● Fetch Cards › retrieve WakaTime card

    expect(received).toBeDefined()

    Received: undefined

      142 |
      143 |   test("retrieve WakaTime card", async () => {
    > 144 |     expect(VERCEL_PREVIEW_URL).toBeDefined();
          |                                ^
      145 |
      146 |     // Check if the Vercel preview instance WakaTime function is up and running.
      147 |     await expect(
a
      at Object.<anonymous> (tests/e2e/e2e.test.js:144:32)

  ● Fetch Cards › retrieve repo card

    expect(received).toBeDefined()

    Received: undefined

      162 |
      163 |   test("retrieve repo card", async () => {
    > 164 |     expect(VERCEL_PREVIEW_URL).toBeDefined();
          |                                ^
      165 |
      166 |     // Check if the Vercel preview instance Repo function is up and running.
      167 |     await expect(

      at Object.<anonymous> (tests/e2e/e2e.test.js:164:32)

Test Suites: 1 failed, 1 total
Tests:       4 failed, 4 total
Snapshots:   0 total
Time:        0.265 s
Ran all test suites.

@brunolnetto Although the end-to-end tests can be run locally by setting the VERCEL_PREVIEW_URL environmental variable, they are meant to be run in the e2e GitHub action only. You can, therefore, safely ignore those errors.

@rickstaa
Copy link
Collaborator

I followed the instructions available on the post, as you can see by commits and action approval on post.

image

This is likely caused by forgetting to add a valid PAT to the Vercel instance. A lot of small things can go wrong when following my instructions. I might create a master_org branch to ease the process. For now you can use my Vercel instance (see my readme)

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