Skip to content

Commit 0caf7a4

Browse files
committed
remove unnecessary stuff form readme, add self updating year for footer
1 parent ffec935 commit 0caf7a4

File tree

2 files changed

+3
-42
lines changed

2 files changed

+3
-42
lines changed

README.md

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -162,53 +162,13 @@ To add a new command, edit `/public/commands.json`:
162162

163163
## Technology Stack
164164

165-
- **Angular 20** - Latest version with standalone components
165+
- **Angular 21** - Latest version with standalone components
166166
- **TypeScript** - Type-safe development
167167
- **Tailwind CSS** - Utility-first CSS framework
168168
- **Signals** - Reactive state management
169169
- **RxJS** - For HTTP requests
170170
- **localStorage** - Client-side history persistence
171171

172-
## Key Features Implementation
173-
174-
### Reactive Command Generation
175-
176-
The command string updates automatically using Angular signals and computed values:
177-
178-
```typescript
179-
generatedCommand = computed(() => {
180-
const cmd = this.command();
181-
const parts: string[] = [cmd.name];
182-
// Add flags and options...
183-
return parts.join(' ');
184-
});
185-
```
186-
187-
### Local Storage History
188-
189-
Commands are saved with timestamps and limited to 20 entries per command:
190-
191-
```typescript
192-
saveToHistory(commandId: string, commandString: string): void {
193-
const entry = { command: commandString, timestamp: Date.now() };
194-
const history = [entry, ...this.getHistory(commandId)].slice(0, 20);
195-
localStorage.setItem(`command-history-${commandId}`, JSON.stringify(history));
196-
}
197-
```
198-
199-
### Parameter Types
200-
201-
Three parameter types are supported:
202-
- **Text**: Free-form text input
203-
- **Number**: Numeric values only
204-
- **Enum**: Dropdown selection from predefined values
205-
206-
## Browser Support
207-
208-
- Chrome/Edge (latest)
209-
- Firefox (latest)
210-
- Safari (latest)
211-
212172
## License
213173

214174
This project is open source and available under the MIT License.

src/app/components/footer/footer.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { APP_VERSION } from '../../app.config';
99
<div class="container mx-auto px-4 py-6">
1010
<div class="flex flex-col md:flex-row items-center justify-between gap-4">
1111
<div class="text-sm text-gray-400">
12-
<span>© 2025 DRaab</span>
12+
<span>© {{ currentYear }} DRaab</span>
1313
<span class="mx-2">•</span>
1414
<span>v{{ version }}</span>
1515
</div>
@@ -34,4 +34,5 @@ import { APP_VERSION } from '../../app.config';
3434
})
3535
export class FooterComponent {
3636
version = inject(APP_VERSION);
37+
currentYear = new Date().getFullYear();
3738
}

0 commit comments

Comments
 (0)