-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
194 additions
and
133 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
packages/frontend/src/app/pages/enable-bluesky/enable-bluesky.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<mat-card class="wafrn-container post-card"> | ||
<h1>Enable bluesky</h1> | ||
<p>Read this! There is some jank still!</p> | ||
<ul> | ||
<li>Only posts marked as <b>public</b> will go to bluesky</li> | ||
<li> | ||
Notifications on bluesky SOMETIMES can be janky. Not seeing a follower on wafrn doesnt mean the follower does not | ||
exist. | ||
</li> | ||
<li>By default, <b>all bluesky posts are public</b> wich means there is no unlisted post</li> | ||
<li><b>Bluesky automaticaly accepts all follows by default</b>. Its different from fedi</li> | ||
<li>Its owned by a corporation and they may not be your jam. We do the best to protect your</li> | ||
<li> | ||
Bluesky blocks are public by default. We are still not federating them, but we will add the option to make your | ||
blocks on bluesky public in the future | ||
</li> | ||
<li> | ||
Some posts may be marked as "only people i follow can reply" and stuff like that. Some jank we havent finished | ||
</li> | ||
<li>Like on fedi, not every post of every account gets saved in wafrn. We only save as much as we need</li> | ||
<li>There is jank</li> | ||
<li>There is jank and we are on it</li> | ||
<li>There is A LOT OF JANK and we are on it</li> | ||
<li>At the moment of writing this, your header image may not federate with bluesky still :(</li> | ||
</ul> | ||
<button [disabled]="loading" (click)="enableBluesky()" mat-flat-button class="w-full">Enable bluesky</button> | ||
</mat-card> |
Empty file.
23 changes: 23 additions & 0 deletions
23
packages/frontend/src/app/pages/enable-bluesky/enable-bluesky.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { EnableBlueskyComponent } from './enable-bluesky.component'; | ||
|
||
describe('EnableBlueskyComponent', () => { | ||
let component: EnableBlueskyComponent; | ||
let fixture: ComponentFixture<EnableBlueskyComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [EnableBlueskyComponent] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(EnableBlueskyComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
21 changes: 21 additions & 0 deletions
21
packages/frontend/src/app/pages/enable-bluesky/enable-bluesky.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Component } from '@angular/core' | ||
import { MatButtonModule } from '@angular/material/button' | ||
import { MatCardModule } from '@angular/material/card' | ||
import { LoginService } from 'src/app/services/login.service' | ||
@Component({ | ||
selector: 'app-enable-bluesky', | ||
imports: [MatCardModule, MatButtonModule], | ||
templateUrl: './enable-bluesky.component.html', | ||
styleUrl: './enable-bluesky.component.scss' | ||
}) | ||
export class EnableBlueskyComponent { | ||
loading = false | ||
constructor(private loginService: LoginService) {} | ||
|
||
enableBluesky() { | ||
this.loading = true | ||
this.loginService.enableBluesky().then(() => { | ||
this.loading = false | ||
}) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters