Commit Graph

300 Commits

Author SHA1 Message Date
Milad Raeisi
36d467c19d Implement login check in user menu and update AuthService integration 2024-12-11 20:23:52 +04:00
Milad Raeisi
58e5f0ce57 Add cancel logout button and functionality to LogoutComponent 2024-12-11 19:47:51 +04:00
Milad Raeisi
214f994680 Refactor login and registration components to use signal-based state management and update template bindings for loading indicators and alerts 2024-12-10 15:16:51 +04:00
Milad Raeisi
2f0fdc598c Add requiresLogin property to navigation items and integrate AuthService for login checks 2024-12-10 14:13:57 +04:00
Milad Raeisi
d72d44d5de Replace custom Webpack builder with Angular DevKit builder, remove webpack.config.js, and add LoginComponent unit tests 2024-12-10 13:19:14 +04:00
Milad Raeisi
e98fb20ced Refactor ProfileComponent and AuthService: remove unused imports, simplify isLoggedIn logic, and implement signal-based state management in NotificationsComponent 2024-12-10 11:13:38 +04:00
Milad Raeisi
0c1442c1eb Refactor relay component HTML and TS files: update template syntax, remove unnecessary code, and add ChangeDetectorRef for manual change detection 2024-12-06 09:32:05 +04:00
Milad Raeisi
5a74adb5c1 Refactor SearchComponent: simplify HTML template, remove unnecessary imports and variables, and update component logic 2024-12-04 07:00:00 +04:00
Milad Raeisi
d15a78c60b Refactor UpdateComponent: replaced async pipe with signal, removed unnecessary imports and decorators, and updated template to use conditional rendering 2024-12-04 06:47:55 +04:00
Milad Raeisi
c4ebea09eb Refactor UserComponent: simplify HTML template, remove unnecessary imports and variables, and adopt signal-based state management 2024-12-03 23:43:58 +04:00
Milad Raeisi
57715e8d53 Refactor Bookmark, Explore, and Zap components: remove unnecessary code, fix formatting, and simplify logic 2024-12-03 23:01:52 +04:00
Milad Raeisi
4b06dfee8e Update explore to show projects 2024-12-03 13:59:41 +04:00
Milad Raeisi
5842bf32bd Refactor security component: simplify HTML, update form handling, and modify TypeScript code 2024-12-02 14:25:17 +04:00
Milad Raeisi
1c19dcfbe4 Refactor network component: update HTML and CSS, simplify TypeScript code, and remove unused imports 2024-12-02 14:14:04 +04:00
Milad Raeisi
05b93ab7f5 Refactor SettingsIndexerComponent: simplify HTML, update component imports, and modify TypeScript code to use signals and effects 2024-12-02 14:10:08 +04:00
Milad Raeisi
369003f488 Refactor SettingsRelayComponent: update template and component code, replace subscriptions with signals and effects, and simplify access options 2024-12-02 13:37:05 +04:00
Milad Raeisi
66cb4efd7a Refactor notifications component: update form handling, remove OnInit, and simplify notification settings management 2024-12-02 13:10:29 +04:00
Milad Raeisi
cb54cc20d5 Merge branch 'main' of https://github.com/block-core/angor-hub 2024-12-02 12:56:54 +04:00
Milad Raeisi
9c4b225612 Refactor SettingsProfileComponent: update form binding, inject services, and introduce signals and effects 2024-12-02 12:56:50 +04:00
SondreB
303206c75b Use routerLink for linking 2024-12-01 12:35:54 +01:00
SondreB
3bdcf269b8 Remove menu items not in use 2024-11-30 21:34:47 +01:00
SondreB
57f7ca7f07 Remove the "Change Profile Photo" hover on self-profile in Chat 2024-11-30 14:24:04 +01:00
SondreB
a571b31dd4 Make the self-profile on chat read-only 2024-11-30 14:20:30 +01:00
SondreB
d614bf0cd1 Remove options that are not going to be added
- Disable the buttons on profile view.
2024-11-30 14:15:50 +01:00
Milad Raeisi
53b0bdfcc3 Refactor BookmarkComponent, add error handling and loading state; update ConversationComponent HTML; modify ProfileComponent to validate project identifier 2024-11-29 01:03:51 +04:00
SondreB
451c6226ca Link the bookmarked card on home 2024-11-27 23:01:07 +01:00
SondreB
7ab4e6bb3c Show loading while data is loading and not "No projects" 2024-11-27 22:57:26 +01:00
SondreB
a71b6114be Only show menu options for projects, not generic nostr profiles 2024-11-27 22:51:50 +01:00
SondreB
1deaebe361 Link the profile chat button 2024-11-27 20:03:15 +01:00
SondreB
0b904b2c74 Show "Loading projects" instead of "No projects" on initial load 2024-11-27 19:44:24 +01:00
SondreB
938a60b994 Implement strict template mode
- Fixes all issues with strict mode.
- Might introduce some bugs as there was a few properties and types that was not correct.
2024-11-27 19:32:37 +01:00
SondreB
91386fd47e Replace forked nostr-login with official packages 2024-11-27 18:53:38 +01:00
Milad Raeisi
8c2edf70de Refactor bookmarking system to use nostrPubKey instead of projectIdentifier 2024-11-27 11:01:06 +04:00
Milad Raeisi
57f7a9a52b Add widgets 2024-11-26 15:56:45 +04:00
Milad Raeisi
fef26eff2c Update QRCodeComponent 2024-11-25 13:32:31 +04:00
Milad Raeisi
fab8e622bd Update relay.service.ts 2024-11-24 14:14:33 +04:00
Milad Raeisi
ac0c49e14e Updated create component HTML to change form margin, and refactored profile component to simplify secret key handling and remove password dialog. 2024-11-24 00:38:13 +04:00
Milad Raeisi
489456ca02 Added secret key and Nsec key management to security component, including display, copy, and fetch functionality. 2024-11-23 23:59:33 +04:00
Milad Raeisi
a1ace81984 Added conditional statement to security component HTML to wrap password-related form and divider 2024-11-23 18:30:22 +04:00
Milad Raeisi
f9d1adf9d1 Add remove password section 2024-11-23 15:59:34 +04:00
Milad Raeisi
5b85e7b9d4 Refactor security component: split form into two separate forms for changing and removing password, update form validation and submission logic 2024-11-23 15:58:17 +04:00
Milad Raeisi
7b8968d33c Update profile and post components: add trackBy function, modify template syntax, and adjust HTML structure 2024-11-23 11:06:27 +04:00
Milad Raeisi
0b9e8bf544 Updated PostComponent: changed trackBy function in template to trackByToken and added trackByToken function in component class 2024-11-22 10:51:11 +04:00
Milad Raeisi
23b6ffe2cd Bump version to v0.0.12 2024-11-21 21:27:49 +04:00
Milad Raeisi
28bb759fef Remove profile picture and name display from profile component HTML. 2024-11-21 21:24:57 +04:00
Milad Raeisi
d4ce94b695 Updated post-event component HTML and TS files, and subscription service TS file, with changes to loading indicator, post loading logic, and subscription queue intervals. 2024-11-21 21:21:45 +04:00
Milad Raeisi
bb6a3c3459 Refactor ProfileComponent to use SignerService to process pubkey route parameter, adding support for npub format 2024-11-21 20:05:34 +04:00
Milad Raeisi
e8b4c989d2 Update packages 2024-11-20 22:24:40 +04:00
Milad Raeisi
ef89ea5351 Bump version to v0.0.11 2024-11-19 12:35:19 +04:00
Milad Raeisi
7093caa8b8 Added MetadataService to PostProfileComponent and ReplayProfileComponent, and called addPublicKey method in both components. 2024-11-19 12:14:19 +04:00