Skip to content

Commit

Permalink
chore: release 1.71.0 (#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts authored Oct 19, 2023
2 parents 084f633 + efb48ee commit 64a5352
Show file tree
Hide file tree
Showing 54 changed files with 546 additions and 167 deletions.
12 changes: 2 additions & 10 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,13 @@
"extends": ["next/core-web-vitals", "plugin:prettier/recommended", "plugin:storybook/recommended"],
"plugins": ["unused-imports"],
"rules": {
"prettier/prettier": ["error", { "endOfLine": "auto" }],
"jsx-quotes": "error",
"unused-imports/no-unused-imports": "error",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal",
"object",
"type",
"index",
"parent",
"sibling"
]
"groups": ["builtin", "external", "internal", "object", "type", "index", "parent", "sibling"]
}
]
}
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow posts an automated comment on every new issue
# https://github.com/marketplace/actions/create-or-update-comment (https://github.com/peter-evans/create-or-update-comment)

name: Automatic Comment
on:
issues:
types: [opened]
permissions:
contents: read

jobs:
comment:
permissions:
issues: write # for peter-evans/create-or-update-comment to create or update comment
pull-requests: write # for peter-evans/create-or-update-comment to create or update comment
name: Comment
runs-on: ubuntu-latest
steps:
- name: Automatic Comment
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.issue.number }}
body: |
Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label.
To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please reach out to us on [Discord](https://discord.gg/U2peSNf23P) or follow up on the issue itself.
For full info on how to contribute, please check out our [contributors guide](https://docs.opensauced.pizza/contributing/introduction-to-contributing/).
4 changes: 3 additions & 1 deletion .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
timeout-minutes: 10
steps:
- name: take an issue
uses: bdougie/take-action@main
uses: bdougie/take-action@v1.6.1
with:
issueCurrentlyAssignedMessage: Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor.
token: ${{ secrets.GITHUB_TOKEN }}
blockingLabels: needs triage,blocked,core team work,needs design,duplicate
blockingLabelsMessage: The issue you are trying to assign yourself is blocked until it can be triaged or by another label on the issue.
181 changes: 181 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,187 @@

> All notable changes to this project will be documented in this file
## [1.71.0-beta.21](https://github.com/open-sauced/insights/compare/v1.71.0-beta.20...v1.71.0-beta.21) (2023-10-19)


### 🐛 Bug Fixes

* Fix horizontal padding /spacing on smaller screens for the Create New List form ([#1909](https://github.com/open-sauced/insights/issues/1909)) ([e92a3d9](https://github.com/open-sauced/insights/commit/e92a3d971615417348963e06db6517b53f16ef55))

## [1.71.0-beta.20](https://github.com/open-sauced/insights/compare/v1.71.0-beta.19...v1.71.0-beta.20) (2023-10-19)


### 🐛 Bug Fixes

* Modify Button Text ([#1942](https://github.com/open-sauced/insights/issues/1942)) ([19a3484](https://github.com/open-sauced/insights/commit/19a34842fa4f3279641530680abc4e3a5ddcf02a))

## [1.71.0-beta.19](https://github.com/open-sauced/insights/compare/v1.71.0-beta.18...v1.71.0-beta.19) (2023-10-18)


### 🐛 Bug Fixes

* list header misalignment now properly aligned ([#1941](https://github.com/open-sauced/insights/issues/1941)) ([0224fa8](https://github.com/open-sauced/insights/commit/0224fa82e46f0e508b8b7bda49016fd9c59dac08))

## [1.71.0-beta.18](https://github.com/open-sauced/insights/compare/v1.71.0-beta.17...v1.71.0-beta.18) (2023-10-18)


### 🐛 Bug Fixes

* now legend labels in most active graph tooltip render properly ([#1927](https://github.com/open-sauced/insights/issues/1927)) ([8a0ff79](https://github.com/open-sauced/insights/commit/8a0ff79b533ca871812fc38a1a72b2bbf9a40275))

## [1.71.0-beta.17](https://github.com/open-sauced/insights/compare/v1.71.0-beta.16...v1.71.0-beta.17) (2023-10-18)


### 🍕 Features

* issue support ([#1890](https://github.com/open-sauced/insights/issues/1890)) ([a067789](https://github.com/open-sauced/insights/commit/a067789611a25e7eed8530d89a7b390d21f29443))

## [1.71.0-beta.16](https://github.com/open-sauced/insights/compare/v1.71.0-beta.15...v1.71.0-beta.16) (2023-10-18)


### 🐛 Bug Fixes

* match graph tooltip color with graph nodes ([#1930](https://github.com/open-sauced/insights/issues/1930)) ([3f845d2](https://github.com/open-sauced/insights/commit/3f845d27aa62763c0436f5cd2dfde2b49c837184))

## [1.71.0-beta.15](https://github.com/open-sauced/insights/compare/v1.71.0-beta.14...v1.71.0-beta.15) (2023-10-17)


### 🐛 Bug Fixes

* decreased delay time of tooltips ([3aef3c0](https://github.com/open-sauced/insights/commit/3aef3c0f7a3808331613d7fc5a8077cb45a42667))
* decreased delay time of tooltips ([#1923](https://github.com/open-sauced/insights/issues/1923)) ([fc50edf](https://github.com/open-sauced/insights/commit/fc50edf305530dc5b169543114058b6e79c9b771))

## [1.71.0-beta.14](https://github.com/open-sauced/insights/compare/v1.71.0-beta.13...v1.71.0-beta.14) (2023-10-17)


### 🐛 Bug Fixes

* can't update user profile bio passed 256 chars ([00a77be](https://github.com/open-sauced/insights/commit/00a77bebd5121a45cdcb4d890e0a57c4f727d7ba))
* can't update user profile bio passed 256 chars ([#1898](https://github.com/open-sauced/insights/issues/1898)) ([42c99c7](https://github.com/open-sauced/insights/commit/42c99c7fd63a8399846e8f8820a9e738d31ac693))

## [1.71.0-beta.13](https://github.com/open-sauced/insights/compare/v1.71.0-beta.12...v1.71.0-beta.13) (2023-10-17)


### 🐛 Bug Fixes

* refactored parameters for captureAnalytics to an object ([a2af672](https://github.com/open-sauced/insights/commit/a2af672008ec43bc0ba58e7e90ce2dda91ae7913))


### 🍕 Features

* add identifier to analytics ([#1887](https://github.com/open-sauced/insights/issues/1887)) ([8169213](https://github.com/open-sauced/insights/commit/81692132ce0f906c914f95454e7281bd3c367a26))
* implemented usage of posthog.identify(identifier) ([30a4bc0](https://github.com/open-sauced/insights/commit/30a4bc0f42b3c5a902be7f0e8f86e1944c77660f))

## [1.71.0-beta.12](https://github.com/open-sauced/insights/compare/v1.71.0-beta.11...v1.71.0-beta.12) (2023-10-17)


### 🐛 Bug Fixes

* hide secondary header in create insights page ([#1925](https://github.com/open-sauced/insights/issues/1925)) ([a5245f7](https://github.com/open-sauced/insights/commit/a5245f758642635e359a0d60deff30aabd0ee3ad))

## [1.71.0-beta.11](https://github.com/open-sauced/insights/compare/v1.71.0-beta.10...v1.71.0-beta.11) (2023-10-17)


### 🐛 Bug Fixes

* made active tab forecolor more prominent for hub navigation ([eeee241](https://github.com/open-sauced/insights/commit/eeee2411f9aa6f40517890e6576dc959b4098788))
* made active tab forecolor more prominent for hub navigation ([#1921](https://github.com/open-sauced/insights/issues/1921)) ([fe997ed](https://github.com/open-sauced/insights/commit/fe997edd2fc781f4c2b5f7d63e2e749e3de9dbe9))

## [1.71.0-beta.10](https://github.com/open-sauced/insights/compare/v1.71.0-beta.9...v1.71.0-beta.10) (2023-10-16)


### 🐛 Bug Fixes

* replace hash icon to arrow down for filter select ([#1825](https://github.com/open-sauced/insights/issues/1825)) ([ee13255](https://github.com/open-sauced/insights/commit/ee13255787c928fc76536129fabf51f9d7fd12b6))

## [1.71.0-beta.9](https://github.com/open-sauced/insights/compare/v1.71.0-beta.8...v1.71.0-beta.9) (2023-10-16)


### 🍕 Features

* add clojure to dashboard interests ([#1901](https://github.com/open-sauced/insights/issues/1901)) ([e628041](https://github.com/open-sauced/insights/commit/e628041886f2f67ff4b3772dc564473195b45094))


### 🐛 Bug Fixes

* add responsiveness to profile detail ([#1892](https://github.com/open-sauced/insights/issues/1892)) ([7466144](https://github.com/open-sauced/insights/commit/746614456d92965af67216581034645a5869a21e))

## [1.71.0-beta.8](https://github.com/open-sauced/insights/compare/v1.71.0-beta.7...v1.71.0-beta.8) (2023-10-16)


### 🍕 Features

* add clojure to dashboard interests ([7373865](https://github.com/open-sauced/insights/commit/7373865da90b601985cec8d76d91df5a77315beb))


### ⏩ Reverts

* clojure feature changes made directly to beta ([#1900](https://github.com/open-sauced/insights/issues/1900)) ([7564245](https://github.com/open-sauced/insights/commit/756424580c64510170e4ca9e44e90c19bfb9a91e))

## [1.71.0-beta.7](https://github.com/open-sauced/insights/compare/v1.71.0-beta.6...v1.71.0-beta.7) (2023-10-16)


### 🐛 Bug Fixes

* Added isLoading condition to the title ([#1886](https://github.com/open-sauced/insights/issues/1886)) ([03cd66d](https://github.com/open-sauced/insights/commit/03cd66deee181c57048762523ca6300c2c36a9f7))
* update redirect paths to remove navigation errors ([#1888](https://github.com/open-sauced/insights/issues/1888)) ([a2159d8](https://github.com/open-sauced/insights/commit/a2159d8d4dab9c4bcc1dc88b8d34b687d23b73e7))

## [1.71.0-beta.6](https://github.com/open-sauced/insights/compare/v1.71.0-beta.5...v1.71.0-beta.6) (2023-10-16)


### 🍕 Features

* show onboarding button on small screens ([#1803](https://github.com/open-sauced/insights/issues/1803)) ([faf54bd](https://github.com/open-sauced/insights/commit/faf54bd609aac61a76dc3767aa65b14ece25cac0))

## [1.71.0-beta.5](https://github.com/open-sauced/insights/compare/v1.71.0-beta.4...v1.71.0-beta.5) (2023-10-16)


### 🍕 Features

* add keyboard binding for posting a highlight ([#1894](https://github.com/open-sauced/insights/issues/1894)) ([346adff](https://github.com/open-sauced/insights/commit/346adff07d85b2c155c969e468ffb62cbe84ecbe))


### 🐛 Bug Fixes

* add target for the highlight link ([#1897](https://github.com/open-sauced/insights/issues/1897)) ([d89d94b](https://github.com/open-sauced/insights/commit/d89d94bd28845693eaee30c980a41bb9a72e3d60))
* attempt to clear any present service workers ([#1889](https://github.com/open-sauced/insights/issues/1889)) ([e641223](https://github.com/open-sauced/insights/commit/e641223467b3b71856aeb4282d9c87dfdd352ea8))

## [1.71.0-beta.4](https://github.com/open-sauced/insights/compare/v1.71.0-beta.3...v1.71.0-beta.4) (2023-10-16)


### 🐛 Bug Fixes

* Unnecesary X-Scrollbar in tablist ([#1881](https://github.com/open-sauced/insights/issues/1881)) ([9d72aeb](https://github.com/open-sauced/insights/commit/9d72aeb6fcbc37028fa4ace308b077724fb26417))

## [1.71.0-beta.3](https://github.com/open-sauced/insights/compare/v1.71.0-beta.2...v1.71.0-beta.3) (2023-10-12)


### 🐛 Bug Fixes

* adjust style for newsletter form so that it adjusts for smaller screens ([#1782](https://github.com/open-sauced/insights/issues/1782)) ([9d97030](https://github.com/open-sauced/insights/commit/9d97030467422601cad6905007b16ef5f8b04ec9))

## [1.71.0-beta.2](https://github.com/open-sauced/insights/compare/v1.71.0-beta.1...v1.71.0-beta.2) (2023-10-12)


### 🐛 Bug Fixes

* Fix CSS inconsistency in Contributor Highlights for "Home" and "Following" tabs for `/feed` route ([#1783](https://github.com/open-sauced/insights/issues/1783)) ([ad08c16](https://github.com/open-sauced/insights/commit/ad08c167be1b980280d8d9b34bbdd770b30298fc))
* reset input state of delete list dialog box after closing the dialog and deleting the list ([#1877](https://github.com/open-sauced/insights/issues/1877)) ([397570d](https://github.com/open-sauced/insights/commit/397570d0c3c27be0d505f0c5820b48c74ac29bbf))

## [1.71.0-beta.1](https://github.com/open-sauced/insights/compare/v1.70.0...v1.71.0-beta.1) (2023-10-11)


### 🍕 Features

* Add OS detection hook and update search dialog ([#1760](https://github.com/open-sauced/insights/issues/1760)) ([585a2aa](https://github.com/open-sauced/insights/commit/585a2aa0b3591a82800781804d7f77234b6860fa))


### 🐛 Bug Fixes

* add check for listId to hooks ([#1869](https://github.com/open-sauced/insights/issues/1869)) ([4bde212](https://github.com/open-sauced/insights/commit/4bde212eef5ea07b76b4e25b37eb73e7d381d03b))
* now treemap on list activity page appears on small screens ([c6ffb4a](https://github.com/open-sauced/insights/commit/c6ffb4a096374bb2c96d687768ff002708a38eb0))
* now treemap on list activity page appears on small screens ([#1873](https://github.com/open-sauced/insights/issues/1873)) ([92f9790](https://github.com/open-sauced/insights/commit/92f97907b82941e6942f35971cba4a0e55ec4906))

## [1.70.0](https://github.com/open-sauced/insights/compare/v1.69.0...v1.70.0) (2023-10-11)


Expand Down
2 changes: 1 addition & 1 deletion components/ListHeader/list-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const ListHeader = ({ name, isPublic, listId, isOwner, numberOfContributors }: L
</div>
</div>
</div>
<div className="absolute right-0 flex flex-col gap-3 py-2 md:items-center md:flex-row md:static">
<div className="absolute right-4 flex flex-col gap-3 py-2 md:items-center md:flex-row md:static">
<Button onClick={() => handleCopyToClipboard()} className="px-6 py-2 bg-white " variant="text">
<FiCopy className="mt-1 mr-2" /> Share
</Button>
Expand Down
2 changes: 1 addition & 1 deletion components/TabList/tab-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const TabList: React.FC<NavProps> = ({ tabList, pageId, selectedTab }) => {
aria-orientation="horizontal"
aria-label="Browse the tools"
tabIndex={0}
className="tool-list-nav flex w-full overflow-x-auto overflow-y-hidden gap-2 px-4 md:px-16 bg-light-slate-3 border-b pt-3"
className="tool-list-nav flex w-full overflow-x-auto overflow-y-hidden gap-2 px-4 bg-light-slate-3 border-b pt-3"
>
{tabList.map((tab, index) => (
<div
Expand Down
3 changes: 3 additions & 0 deletions components/atoms/LanguagePill/LanguagePill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import GolangIcon from "img/icons/interests/golang.svg";
import VueIcon from "img/icons/interests/vuejs.svg";
import KubernetesIcon from "img/icons/interests/kubernetes.svg";
import HacktoberfestIcon from "img/icons/interests/hacktoberfest.svg";
import CloJureIcon from "img/icons/interests/clojure.svg";

import topicNameFormatting from "lib/utils/topic-name-formatting";

Expand All @@ -39,6 +40,7 @@ interface LanguagePillProps {
| "vue"
| "Kubernetes"
| "hacktoberfest"
| "clojure"
| string;
classNames?: string;
onClick?: () => void;
Expand All @@ -63,6 +65,7 @@ const LanguagePill = ({ topic, classNames, onClick }: LanguagePillProps) => {
vue: VueIcon,
kubernetes: KubernetesIcon,
hacktoberfest: HacktoberfestIcon,
clojure: CloJureIcon,
};

return iconMap[name] || "";
Expand Down
2 changes: 1 addition & 1 deletion components/atoms/TextInput/text-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const TextInput = ({
id={id || name || ""}
placeholder={placeholder || ""}
className={clsx(
"flex-1 focus:outline-none placeholder:font-normal placeholder-slate-400",
"w-full focus:outline-none placeholder:font-normal placeholder-slate-400",
disabled && "bg-light-slate-3 cursor-not-allowed text-light-slate-9"
)}
disabled={disabled}
Expand Down
2 changes: 1 addition & 1 deletion components/atoms/Tooltip/tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Tooltip = ({ children, content, className, direction }: TooltipProps): JSX
const { Portal, Root, Content, Trigger, Arrow } = TooltipPrimitive;

return (
<Root>
<Root delayDuration={300}>
<Trigger asChild>
<div>{children}</div>
</Trigger>
Expand Down
4 changes: 2 additions & 2 deletions components/atoms/TopContributorCard/top-contributor-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const TopContributorCard = ({ login, refreshLoggedInUser }: TopContributorCardPr
onClick={() =>
sessionToken
? handleFollowContributor()
: signIn({ provider: "github", options: { redirectTo: `${host}/${currentPath}` } })
: signIn({ provider: "github", options: { redirectTo: `${host}${currentPath}` } })
}
className="!px-2 !py-1 [&>span:nth-child(1)]:hover:hidden [&>span:nth-child(1)]:focus-visible:hidden [&>span:nth-child(2)]:hover:inline [&>span:nth-child(2)]:focus-visible:inline"
variant="primary"
Expand All @@ -71,7 +71,7 @@ const TopContributorCard = ({ login, refreshLoggedInUser }: TopContributorCardPr
onClick={() =>
sessionToken
? handleFollowContributor()
: signIn({ provider: "github", options: { redirectTo: `${host}/${currentPath}` } })
: signIn({ provider: "github", options: { redirectTo: `${host}${currentPath}` } })
}
className="!px-2 !py-1 border-light-orange-7 text-light-orange-10"
variant="text"
Expand Down
17 changes: 13 additions & 4 deletions components/molecules/AuthSection/auth-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useEffect, useState } from "react";
import Image from "next/image";
import { useRouter } from "next/router";
import Link from "next/link";

import { IoNotifications } from "react-icons/io5";
import { FiLogOut, FiSettings } from "react-icons/fi";
import { BiLinkExternal } from "react-icons/bi";
Expand All @@ -19,6 +18,7 @@ import Text from "components/atoms/Typography/text";
import GitHubIcon from "img/icons/github-icon.svg";
import Icon from "components/atoms/Icon/icon";
import SearchDialog, { SearchDialogTrigger } from "components/organisms/SearchDialog/search-dialog";
import Tooltip from "components/atoms/Tooltip/tooltip";
import DropdownList from "../DropdownList/dropdown-list";
import OnboardingButton from "../OnboardingButton/onboarding-button";
import userAvatar from "../../../img/ellipse-1.png";
Expand Down Expand Up @@ -102,9 +102,18 @@ const AuthSection: React.FC = ({}) => {
<SearchDialogTrigger />
{user ? (
<>
{!onboarded && (
{onboarded !== undefined && !onboarded && (
<>
<OnboardingButton />
<div className="relative hidden lg:flex xl:hidden">
<Tooltip content="Complete the onboarding" direction="bottom">
<OnboardingButton ariaLabel="Complete your onboarding" className="!flex !pr-1" />
</Tooltip>
</div>
<OnboardingButton className="!hidden xl:!flex !pr-1">
<Text className="text-sm !text-light-slate-12 hidden xl:block py-1 px-2">
Complete the onboarding
</Text>
</OnboardingButton>
<Divider type="vertical" className="!h-6 !bg-light-slate-6"></Divider>
</>
)}
Expand Down Expand Up @@ -132,7 +141,7 @@ const AuthSection: React.FC = ({}) => {
<Button
variant="primary"
onClick={async () =>
await signIn({ provider: "github", options: { redirectTo: `${host}/${currentPath}` } })
await signIn({ provider: "github", options: { redirectTo: `${host}${currentPath}` } })
}
className="flex items-center"
>
Expand Down
Loading

0 comments on commit 64a5352

Please sign in to comment.