Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 660aa97

Browse files
authored
Merge branch 'main' into issue-9115
2 parents c83374b + ecb9d50 commit 660aa97

File tree

8 files changed

+63
-17
lines changed

8 files changed

+63
-17
lines changed

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [2.83.3](https://github.com/EddieHubCommunity/BioDrop/compare/v2.83.2...v2.83.3) (2023-10-25)
2+
3+
4+
### Bug Fixes
5+
6+
* hero-buttons for mobile ([#9159](https://github.com/EddieHubCommunity/BioDrop/issues/9159)) ([0b8ec64](https://github.com/EddieHubCommunity/BioDrop/commit/0b8ec64a43ba5f63cb0fa3e1fd8f19edd1656546))
7+
8+
9+
110
## [2.83.2](https://github.com/EddieHubCommunity/BioDrop/compare/v2.83.1...v2.83.2) (2023-10-24)
211

312

@@ -34,12 +43,3 @@
3443

3544

3645

37-
## [2.82.1](https://github.com/EddieHubCommunity/BioDrop/compare/v2.82.0...v2.82.1) (2023-10-24)
38-
39-
40-
### Bug Fixes
41-
42-
* social icons ordering [#8533](https://github.com/EddieHubCommunity/BioDrop/issues/8533) ([#9558](https://github.com/EddieHubCommunity/BioDrop/issues/9558)) ([fa715d1](https://github.com/EddieHubCommunity/BioDrop/commit/fa715d1ab84cd8ff78cbf4e07e15a1455df16453))
43-
44-
45-

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Before **creating** an Issue for `features`/`bugs`/`improvements` please follow
2121

2222
Before working on an existing Issue please follow these steps:
2323

24-
1. only ask to be assigned 1 issue at a time
24+
1. only ask to be assigned 1 **open** issue at a time
2525
1. look out for the Issue label `status: ready for dev` (if it does not have this label, your work might not be accepted)
2626
1. comment asking for the issue to be assigned to you (do not tag maintainers on GitHub or Discord as all maintainers receive your comment notifications)
2727
1. after the Issue is assigned to you, you can start working on it

config/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.83.2",
2+
"version": "2.83.3",
33
"alerts": [],
44
"layouts": [
55
"classic",

data/singodiyashubham87.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "Shubham Singodiya",
3+
"bio": "Full Stack React Developer & Open-Source contributor",
4+
"tags": [
5+
"React",
6+
"JavaScript",
7+
"Tailwind",
8+
"Git",
9+
"Postman",
10+
"HTML",
11+
"CSS"
12+
],
13+
"links": [
14+
{
15+
"name": "Github",
16+
"url": "https://github.com/singodiyashubham87",
17+
"icon": "FaGithub"
18+
},
19+
{
20+
"name": "LinkedIn",
21+
"url": "https://www.linkedin.com/in/singodiyashubham87/",
22+
"icon": "FaLinkedin"
23+
},
24+
{
25+
"name": "Dev.to",
26+
"url": "https://dev.to/_master_mickey",
27+
"icon": "FaBlog"
28+
}
29+
]
30+
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "biodrop",
3-
"version": "2.83.2",
3+
"version": "2.83.3",
44
"private": false,
55
"homepage": "https://biodrop.io",
66
"engines": {

pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export default function Home({
232232
<FaDollarSign /> Free Tier Forever
233233
</div>
234234
</div>
235-
<div className="mt-10 flex flex-col sm:flex-row items-center justify-center gap-6 mx-24">
235+
<div className="mt-10 flex flex-col sm:flex-row items-center justify-center gap-6 sm:mx-24">
236236
<Button href="/docs" primary={true}>
237237
Get started
238238
</Button>

tests/profile.spec.js

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { test, expect } from "@playwright/test";
33
import AxeBuilder from "@axe-core/playwright";
44

55
import connectMongo from "@config/mongo";
6-
import { Profile } from "@models/index";
6+
import { Profile, Link } from "@models/index";
77

88
test("Profile has title", async ({ page }) => {
99
const username = "_test-profile-user-1";
@@ -69,8 +69,24 @@ test("Profile views increase", async ({ page }) => {
6969
expect(startingViews.views).toEqual(endingViews.views - 3);
7070
});
7171

72-
test.fixme("Link clicks increase", async () => {
73-
// will need DB integration
72+
test("Link clicks increase", async ({page}) => {
73+
74+
await connectMongo();
75+
await page.goto("/eddiejaoude");
76+
77+
const startingLinks = await Link.find({ username: "eddiejaoude" })
78+
const startingLink = startingLinks[0]
79+
80+
const previousClickCount = startingLink.clicks;
81+
82+
const profileLink = page.locator('a').filter({ hasText: startingLink.name })
83+
84+
await profileLink.click();
85+
await page.waitForTimeout(1000);
86+
const currentLink = await Link.findOne({ name: startingLink.name, username: "eddiejaoude" })
87+
const updateCurrentLinkClicks = currentLink.clicks
88+
89+
expect(updateCurrentLinkClicks).toEqual((previousClickCount + 1));
7490
});
7591

7692
test("Profile not found redirects to search page with error message", async ({

0 commit comments

Comments
 (0)